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 4375


Ignore:
Timestamp:
2016-06-06T19:50:57-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r4370 r4375  
    439439  self)
    440440
    441 (defun add (summand &rest more-summands)
    442   "Successively Adds to SUMMAND the elements of MORE-SUMMANDS."
    443   (reduce #'add-to more-summands :initial-value summand))
    444 
    445 (defun subtract (minuend  &rest subtrahends)
    446   "Non-destructively subtract MINUEND and SUBTRAHENDS."
    447   (cond ((endp subtrahends) (unary-minus minuend))
    448         (t (subtract-from (copy-instance minuend) (reduce #'add subtrahends)))))
    449 
    450441(defmethod left-tensor-product-by ((self poly) (other monom))
    451442  (setf (poly-termlist self)
Note: See TracChangeset for help on using the changeset viewer.