Changeset 3844
- Timestamp:
- 2016-05-28T12:28:35-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monom.lisp
r3829 r3844 195 195 (map-into exponents1 #'+ exponents1 exponents2))) 196 196 self) 197 (:method ((self number) (other term))198 (reinitialize-instance other :coeff (multiply self (term-coeff other))))199 197 (:method ((self term) (other number)) 200 198 (reinitialize-instance self :coeff (multiply (term-coeff self) other)))) … … 556 554 exponents coeff)))) 557 555 556 (defmethod multiply-by ((self number) (other term)) 557 (reinitialize-instance other :coeff (multiply self (term-coeff other)))) 558 558 559 (defun make-term-constant (dimension &optional (coeff 1)) 559 560 (make-instance 'term :dimension dimension :coeff coeff))
Note:
See TracChangeset
for help on using the changeset viewer.