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 3425


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

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r3408 r3425  
    331331          (change-class (copy-instance POLY2) 'poly)))
    332332
    333 (defmethod r- ((poly1 monom) poly2)
    334   "Non-destructively subtract POLY1 and POLY2."
     333(defmethod r- ((minuend monom) &rest subtrahends)
     334  "Non-destructively subtract MINUEND and SUBTRAHENDS."
    335335  (subtract-from (change-class (copy-instance POLY1) 'poly)
    336                  (change-class (copy-instance POLY2) 'poly)))
     336                 (apply #'r+ subtrahends)))
    337337
    338338(defmethod r* ((poly1 poly) (poly2 poly))
Note: See TracChangeset for help on using the changeset viewer.