- Timestamp:
- 2015-09-05T16:15:43-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monom.lisp
r3539 r3540 491 491 exponents coeff)))) 492 492 493 (def method monom-equalp ((term1 term) (term2 term))494 ( when (universal-equalp (term-coeff term1) (term-coeff term2))495 (call-next-method)))493 (defgeneric universal-equalp ((term1 term) (term2 term)) 494 (and (call-next-method) 495 (universal-equalp (term-coeff term1) (term-coeff term2)))) 496 496 497 497 (defmethod update-instance-for-different-class :after ((old monom) (new term) &key) … … 507 507 (call-next-method)) 508 508 509 (defmethod monom-right-tensor-product-by ((self term) (other term))509 (defmethod term-right-tensor-product-by ((self term) (other term)) 510 510 (setf (term-coeff self) (multiply-by (term-coeff self) (term-coeff other))) 511 511 (call-next-method))
Note:
See TracChangeset
for help on using the changeset viewer.