- Timestamp:
- 2015-08-27T18:10:29-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r3431 r3432 318 318 (defmethod r+ ((poly1 term) poly2) 319 319 "Non-destructively add POLY1 by POLY2." 320 (add-to (change-class (copy-instance POLY1) 'poly)321 (change-class (copy-instance POLY2) 'poly)))320 (add-to (change-class (copy-instance poly1) 'poly) 321 (change-class (copy-instance poly2) 'poly))) 322 322 323 323 (defmethod r- ((minuend term) &rest subtrahends) … … 338 338 (defmethod r* ((poly1 poly) (poly2 poly)) 339 339 "Non-destructively multiply POLY1 by POLY2." 340 (multiply-by (copy-instance POLY1) (copy-instance POLY2)))340 (multiply-by (copy-instance poly1) (copy-instance poly2))) 341 341 342 342 (defmethod left-tensor-product-by ((self poly) (other term))
Note:
See TracChangeset
for help on using the changeset viewer.