- Timestamp:
- 2015-08-27T12:53:00-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r3404 r3405 308 308 self) 309 309 310 (defmethod r+ ((poly1 poly) (poly2 poly))310 (defmethod r+ ((poly1 poly) poly2) 311 311 "Non-destructively add POLY1 by POLY2." 312 (add-to (copy-instance POLY1) (c opy-instance POLY2)))313 314 (defmethod r- ((poly1 poly) (poly2 poly))312 (add-to (copy-instance POLY1) (change-class (copy-instance POLY2) 'poly))) 313 314 (defmethod r- ((poly1 poly) poly2) 315 315 "Non-destructively subtract POLY1 and POLY2." 316 316 (subtract-from (copy-instance POLY1) (copy-instance POLY2)))
Note:
See TracChangeset
for help on using the changeset viewer.