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