Changeset 736 for branches/f4grobner
- Timestamp:
- 2015-06-08T20:41:47-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monomial.lisp
r735 r736 170 170 (every #'= (monom-exponents m1) (monom-exponents m2))) 171 171 172 (defun monom-lcm (m1 m2 &aux (result (copy-s eqm1)))172 (defun monom-lcm (m1 m2 &aux (result (copy-structure m1))) 173 173 "Returns least common multiple of monomials M1 and M2." 174 174 (declare (type monom m1 m2)) 175 (map-into result #'max m1 m2)) 175 (map-into (monom-exponents result) #'max 176 (monom-exponents m1) 177 (monom-exponents m2))) 176 178 177 179 (defun monom-gcd (m1 m2 &aux (result (copy-seq m1)))
Note:
See TracChangeset
for help on using the changeset viewer.