- Timestamp:
- 2015-09-06T05:02:27-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monom.lisp
r3669 r3670 554 554 (setf (term-coeff self) (multiply-by (term-coeff self) (term-coeff other)))) 555 555 556 (defmethod multiply-by :before ((self term) (other number))557 "Destructively multiply terms SELF and OTHER and store the result into SELF.558 It returns SELF."559 (setf (term-coeff self) (multiply-by (term-coeff self) other)))560 561 (defmethod multiply-by :before ((self term) other)562 (setf (term-coeff self) (multiply-by (term-coeff self) other)))563 564 556 (defmethod left-tensor-product-by :before ((self term) (other term)) 565 557 (setf (term-coeff self) (multiply-by (term-coeff self) (term-coeff other))))
Note:
See TracChangeset
for help on using the changeset viewer.