Changeset 2313 for branches/f4grobner/monom.lisp
- Timestamp:
- 2015-06-18T19:38:40-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monom.lisp
r2309 r2313 157 157 (defmethod r/ ((m1 monom) (m2 monom)) 158 158 "Divide monomial M1 by monomial M2." 159 (with-slots ((exponents1 exponents) )159 (with-slots ((exponents1 exponents) (dimension1 dimension)) 160 160 m1 161 161 (with-slots ((exponents2 exponents)) 162 162 m2 163 163 (let* ((exponents (copy-seq exponents1)) 164 (dimension ( reduce #'+ exponents)))164 (dimension (dimension1))) 165 165 (map-into exponents #'- exponents1 exponents2) 166 166 (make-instance 'monom :dimension dimension :exponents exponents)))))
Note:
See TracChangeset
for help on using the changeset viewer.