Changeset 2943
- Timestamp:
- 2015-06-21T13:07:42-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/term.lisp
r2942 r2943 100 100 |# 101 101 102 (defmethod multiply-by ((self term) (other term))102 (defmethod multiply-by :after ((self term) (other term)) 103 103 "Destructively multiply terms SELF and OTHER and store the result into SELF. 104 104 It returns SELF." 105 (setf (r-coeff self) (multiply-by (r-coeff self) (r-coeff other))) 106 (call-next-method)) 105 (setf (r-coeff self) (multiply-by (r-coeff self) (r-coeff other)))) 106 107 107 108 108 (defmethod divide-by ((self term) (other term))
Note:
See TracChangeset
for help on using the changeset viewer.