Changeset 3569
- Timestamp:
- 2015-09-05T16:51:04-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monom.lisp
r3568 r3569 298 298 (make-instance 'monom :exponents exponents)))))) 299 299 300 (defmethod monom-depends-p ((m monom) k) 301 "Return T if the monomial M depends on variable number K." 302 (declare (type fixnum k)) 303 (with-slots (exponents) 304 m 305 (plusp (elt exponents k)))) 300 (defgeneric depends-p (object k) 301 (:documentation "Returns T iff object OBJECT depends on variable K.") 302 (:method ((m monom) k) 303 "Return T if the monomial M depends on variable number K." 304 (declare (type fixnum k)) 305 (with-slots (exponents) 306 m 307 (plusp (elt exponents k))))) 306 308 307 309 (defmethod monom-left-tensor-product-by ((self monom) (other monom))
Note:
See TracChangeset
for help on using the changeset viewer.