Changeset 2078 for branches/f4grobner
- Timestamp:
- 2015-06-17T19:26:31-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monom.lisp
r2077 r2078 208 208 exponents1 exponents2 exponents3 exponents4)))))) 209 209 210 #|211 210 (defmethod divisible-by-p ((m1 monom) (m2 monom)) 212 211 "Returns T if monomial M1 is divisible by monomial M2, NIL otherwise." 212 213 213 (every #'>= m1 m2)) 214 214 215 215 (defmethod rel-prime-p ((m1 monom) (m2 monom)) 216 216 "Returns T if two monomials M1 and M2 are relatively prime (disjoint)." 217 (every #'(lambda (x y) (zerop (min x y))) m1 m2)) 218 219 #| 220 217 (with-slots (exponents1 exponents) 218 m1 219 (with-slots (exponents2 exponents) 220 m2 221 (every #'(lambda (x y) (zerop (min x y))) exponents1 exponents2)))) 221 222 222 223
Note:
See TracChangeset
for help on using the changeset viewer.