Changeset 3568
- Timestamp:
- 2015-09-05T16:50:05-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monom.lisp
r3567 r3568 289 289 (:documentation "Returns GCD of objects OBJECT1 and OBJECT2") 290 290 (:method ((m1 monom) (m2 monom)) 291 "Returns greatest common divisor of monomials M1 and M2."292 (with-slots ((exponents1 exponents))293 294 (with-slots ((exponents2 exponents))295 m2296 297 (map-into exponents #'min exponents1 exponents2)298 (make-instance 'monom :exponents exponents)))))291 "Returns greatest common divisor of monomials M1 and M2." 292 (with-slots ((exponents1 exponents)) 293 m1 294 (with-slots ((exponents2 exponents)) 295 m2 296 (let* ((exponents (copy-seq exponents1))) 297 (map-into exponents #'min exponents1 exponents2) 298 (make-instance 'monom :exponents exponents)))))) 299 299 300 300 (defmethod monom-depends-p ((m monom) k)
Note:
See TracChangeset
for help on using the changeset viewer.