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


Ignore:
Timestamp:
2015-06-22T20:32:37-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r3245 r3246  
    130130
    131131(defmethod multiply-by ((self poly) (other monom))
     132  (assert (= (monom-dimension self) (poly-dimension other)))
    132133  (mapc #'(lambda (term) (multiply-by term other))
    133134        (poly-termlist self))
     
    135136
    136137(defmethod multiply-by ((self poly) (other term))
     138  (assert (= (monom-dimension self) (monom-dimension other)))
    137139  (mapc #'(lambda (term) (multiply-by term other))
    138140        (poly-termlist self))
     
    140142
    141143(defmethod multiply-by ((self poly) (other scalar))
     144  (assert (= (monom-dimension self) (monom-dimension other)))
    142145  (mapc #'(lambda (term) (multiply-by term other))
    143146        (poly-termlist self))
Note: See TracChangeset for help on using the changeset viewer.