Changeset 737 for branches/f4grobner
- Timestamp:
- 2015-06-08T20:42:37-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monomial.lisp
r736 r737 175 175 (map-into (monom-exponents result) #'max 176 176 (monom-exponents m1) 177 (monom-exponents m2))) 178 179 (defun monom-gcd (m1 m2 &aux (result (copy-seq m1))) 177 (monom-exponents m2)) 178 result) 179 180 (defun monom-gcd (m1 m2 &aux (result (copy-structure m1))) 180 181 "Returns greatest common divisor of monomials M1 and M2." 181 182 (declare (type monom m1 m2)) 182 (map-into result #'min m1 m2)) 183 (map-into (monom-exponents result) #'min (monom-exponents m1) (monom-exponents m2)) 184 result) 183 185 184 186 (defun monom-depends-p (m k)
Note:
See TracChangeset
for help on using the changeset viewer.