- Timestamp:
- 2015-09-05T17:08:55-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monom.lisp
r3585 r3586 233 233 "Returns T if monomial M1 divides LCM(M2,M3), NIL otherwise." 234 234 (every #'(lambda (x y z) (<= x (max y z))) 235 m1 m2 m3)))235 exponents1 exponents2 exponents3))) 236 236 237 237 (defgeneric lcm-divides-lcm-p ((m1 monom) (m2 monom) (m3 monom) (m4 monom)) 238 238 "Returns T if monomial LCM(M1,M2) divides LCM(M3,M4), NIL otherwise." 239 (every #'(lambda (x y z w) (<= (max x y) (max z w))) 240 m1 m2 m3 m4)) 239 (with-slots ((exponents1 exponents)) 240 m1 241 (with-slots ((exponents2 exponents)) 242 m2 243 (with-slots ((exponents3 exponents)) 244 m3 245 (every #'(lambda (x y z w) (<= (max x y) (max z w))) 246 m1 m2 m3))))) 241 247 242 248 (defmethod monom-lcm-equal-lcm-p ((m1 monom) (m2 monom) (m3 monom) (m4 monom))
Note:
See TracChangeset
for help on using the changeset viewer.