- Timestamp:
- 2016-05-28T13:10:29-07:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r3830 r3851 372 372 (defun subtract (minuend &rest subtrahends) 373 373 "Non-destructively subtract MINUEND and SUBTRAHENDS." 374 (subtract-from (copy-instance minuend) (reduce #'add subtrahends))) 374 (cond ((endp subtrahends) (unary-minus minuend)) 375 (t (subtract-from (copy-instance minuend) (reduce #'add subtrahends))))) 375 376 376 377 (defmethod left-tensor-product-by ((self poly) (other monom))
Note:
See TracChangeset
for help on using the changeset viewer.