- Timestamp:
- 2015-08-27T17:33:39-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r3426 r3427 312 312 (add-to (copy-instance POLY1) (change-class (copy-instance POLY2) 'poly))) 313 313 314 (defmethod r- (( poly1 poly) poly2)315 "Non-destructively subtract POLY1 and POLY2."316 (subtract-from (copy-instance POLY1) (copy-instance POLY2)))314 (defmethod r- ((minuend poly) subtrahends) 315 "Non-destructively subtract MINUEND and SUBTRAHENDS." 316 (subtract-from (copy-instance minuend) (apply #'r+ subtrahends))) 317 317 318 318 (defmethod r+ ((poly1 term) poly2)
Note:
See TracChangeset
for help on using the changeset viewer.