Changeset 875
- Timestamp:
- 2015-06-09T11:52:09-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monomial.lisp
r874 r875 131 131 (defun monom-divides-monom-lcm-p (m1 m2 m3) 132 132 "Returns T if monomial M1 divides MONOM-LCM(M2,M3), NIL otherwise." 133 (every #'(lambda (x y z) ( declare (type exponent x y z)) (<= x (max y z)))133 (every #'(lambda (x y z) (<= x (max y z))) 134 134 m1 m2 m3)) 135 135 136 136 (defun monom-lcm-divides-monom-lcm-p (m1 m2 m3 m4) 137 137 "Returns T if monomial MONOM-LCM(M1,M2) divides MONOM-LCM(M3,M4), NIL otherwise." 138 (declare (type monom m1 m2 m3 m4))139 138 (every #'(lambda (x y z w) (<= (max x y) (max z w))) 140 139 m1 m2 m3 m4)) … … 153 152 (defun monom-rel-prime-p (m1 m2) 154 153 "Returns T if two monomials M1 and M2 are relatively prime (disjoint)." 155 (every #'(lambda (x y) ( declare (type exponent x y)) (zerop (min x y))) m1 m2))154 (every #'(lambda (x y) (zerop (min x y))) m1 m2)) 156 155 157 156 (defun monom-equal-p (m1 m2)
Note:
See TracChangeset
for help on using the changeset viewer.