Changeset 3667 for branches/f4grobner
- Timestamp:
- 2015-09-05T21:55:08-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monom.lisp
r3666 r3667 554 554 (setf (term-coeff self) (multiply-by (term-coeff self) (term-coeff other)))) 555 555 556 (defmethod multiply-by :before ((self term) other)556 (defmethod multiply-by :before ((self term) (other monom)) 557 557 "Destructively multiply terms SELF and OTHER and store the result into SELF. 558 558 It returns SELF." 559 (call-next-method)) 560 561 (defmethod multiply-by :before ((self term) other) 559 562 (setf (term-coeff self) (multiply-by (term-coeff self) other))) 560 563
Note:
See TracChangeset
for help on using the changeset viewer.