- Timestamp:
- 2015-06-20T22:00:50-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monom.lisp
r2783 r2806 136 136 (r-total-degree m start end)) 137 137 138 (defmethod r* ((m1 monom) (m2 monom))139 "Multiply monomial M1 by monomial M2."140 (with-slots ((exponents1 exponents) dimension)141 m1142 (with-slots ((exponents2 exponents))143 m2144 (let* ((exponents (copy-seq exponents1)))145 (map-into exponents #'+ exponents1 exponents2)146 (make-instance 'monom :dimension dimension :exponents exponents)))))147 148 138 (defmethod multiply-by ((self monom) (other monom)) 149 139 (with-slots ((exponents1 exponents))
Note:
See TracChangeset
for help on using the changeset viewer.