close Warning: Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.

Changeset 3432 for branches


Ignore:
Timestamp:
2015-08-27T18:10:29-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r3431 r3432  
    318318(defmethod r+ ((poly1 term) poly2)
    319319  "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)))
    322322
    323323(defmethod r- ((minuend term) &rest subtrahends)
     
    338338(defmethod r* ((poly1 poly) (poly2 poly))
    339339  "Non-destructively multiply POLY1 by POLY2."
    340   (multiply-by (copy-instance POLY1) (copy-instance POLY2)))
     340  (multiply-by (copy-instance poly1) (copy-instance poly2)))
    341341
    342342(defmethod left-tensor-product-by ((self poly) (other term))
Note: See TracChangeset for help on using the changeset viewer.