close Warning: Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.

Changeset 3423 for branches/f4grobner


Ignore:
Timestamp:
2015-08-27T17:25:37-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/symbolic-polynomial.lisp

    r3422 r3423  
    8585         (case (car expr)
    8686           (+ (reduce #'r+ (p-eval-list (cdr expr))))
    87            (- (case (length expr)
    88                 (1 (make-poly-zero))
    89                 (2 (r- (p-eval (cadr expr))))
    90                 (3 (r- (p-eval (cadr expr)) (p-eval (caddr expr))))
    91                 (otherwise (r- (p-eval (cadr expr))
    92                                (reduce #'r+ (p-eval-list (cddr expr)))))))
     87           (- (apply #'r- (p-eval-list (cdr expr))))
    9388           (*
    9489            (if (endp (cddr expr))      ;unary
Note: See TracChangeset for help on using the changeset viewer.