Changeset 3423
- Timestamp:
- 2015-08-27T17:25:37-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/symbolic-polynomial.lisp
r3422 r3423 85 85 (case (car expr) 86 86 (+ (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)))) 93 88 (* 94 89 (if (endp (cddr expr)) ;unary
Note:
See TracChangeset
for help on using the changeset viewer.