Changeset 733
- Timestamp:
- 2015-06-08T20:40:20-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monomial.lisp
r732 r733 147 147 "Returns T if monomial MONOM-LCM(M1,M2) equals MONOM-LCM(M3,M4), NIL otherwise." 148 148 (declare (type monom m1 m2 m3 m4)) 149 (every #'(lambda (x y z w) (declare (type exponent x y z w)) (= (max x y) (max z w))) m1 m2 m3 m4)) 149 (every #'(lambda (x y z w) (declare (type exponent x y z w)) (= (max x y) (max z w))) 150 (monom-exponents m1) 151 (monom-exponents m2) 152 (monom-exponents m3) 153 (monom-exponents m4))) 150 154 151 155 (defun monom-divisible-by-p (m1 m2) 152 156 "Returns T if monomial M1 is divisible by monomial M2, NIL otherwise." 153 157 (declare (type monom m1 m2)) 154 (every #'>= m1 m2))158 (every #'>= (monom-exponents m1) (monom-exponents m2))) 155 159 156 160 (defun monom-rel-prime-p (m1 m2)
Note:
See TracChangeset
for help on using the changeset viewer.