Changeset 2818 for branches/f4grobner
- Timestamp:
- 2015-06-21T09:25:58-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monom.lisp
r2817 r2818 152 152 self) 153 153 154 (defmethod divide-by ((self monom) (other monom)) 155 (with-slots ((exponents1 exponents) (dimension1 dimension)) 156 self 157 (with-slots ((exponents2 exponents) (dimension2 dimension)) 158 other 159 (unless (= dimension1 dimension2) 160 (error "Incompatible dimensions: ~A and ~A.~%" dimension1 dimension2)) 161 (map-into exponents1 #'- exponents1 exponents2))) 162 self) 163 154 164 (defmethod r* ((m1 monom) (m2 monom)) 155 165 "Non-destructively multiply monomial M1 by M2."
Note:
See TracChangeset
for help on using the changeset viewer.