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 3427 for branches


Ignore:
Timestamp:
2015-08-27T17:33:39-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r3426 r3427  
    312312  (add-to (copy-instance POLY1) (change-class (copy-instance POLY2) 'poly)))
    313313
    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)))
    317317
    318318(defmethod r+ ((poly1 term) poly2)
Note: See TracChangeset for help on using the changeset viewer.