- Timestamp:
- 2015-06-17T18:48:45-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monom.lisp
r2049 r2054 146 146 (monom-total-degree m start end)) 147 147 148 (defmethod ring-mul ((m1 monom) (m2 monom)) &aux (result (copy-seq m1)))148 (defmethod monom-mul ((m1 monom) (m2 monom)) &aux (result (copy-seq m1))) 149 149 "Multiply monomial M1 by monomial M2." 150 150 (with-slots ((exponents1 exponents)) … … 157 157 (make-instance 'monom :dim dim :exponents exponents))))) 158 158 159 (defmethod ring-div ((m1 monom) (m2 monom))159 (defmethod monom-div ((m1 monom) (m2 monom)) 160 160 "Divide monomial M1 by monomial M2." 161 161 (with-slots ((exponents1 exponents)) … … 168 168 (make-instance 'monom :dim dim :exponents exponents))))) 169 169 170 (defmethod ring-divides-p ((m1 monom) (m2 monom))170 (defmethod monom-divides-p ((m1 monom) (m2 monom)) 171 171 "Returns T if monomial M1 divides monomial M2, NIL otherwise." 172 172 (with-slots ((exponents1 exponents))
Note:
See TracChangeset
for help on using the changeset viewer.