Changeset 2477
- Timestamp:
- 2015-06-19T10:58:07-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/term.lisp
r2424 r2477 87 87 result)) 88 88 89 (defmethod multiply-by ((self term) (other monom)) 90 "Returns the product of the terms TERM1 and TERM2, 91 or NIL when the product is 0. This definition takes care of divisors of 0 92 in the coefficient ring." 93 (let ((result (change-class (call-next-method) 'term))) 94 (setf (r-coeff self) (multiply-by (r-coeff self) (r-coeff other))) 95 result)) 96 89 97 #| 90 98
Note:
See TracChangeset
for help on using the changeset viewer.