Changeset 3514
- Timestamp:
- 2015-09-05T11:45:33-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r3513 r3514 119 119 120 120 (defgeneric poly-equalp (self other) 121 (:documentation "POLY instances are POLY-EQUALP if they have the same 122 order and if their terms are equal." 123 121 (:documentation "Implements equality of polynomials.") 124 122 (:method ((self poly) (other poly)) 125 (and (every #'r-equalp (poly-termlist self) (poly-termlistother))126 (eq (poly-term-order self) (poly-term-order other))))127 123 (and (eql (poly-dimension self) (poly-dimension other)) 124 (every #'r-equalp (poly-termlist self) (poly-termlist other)) 125 (eq (poly-term-order self) (poly-term-order other))))) 128 126 129 127 ;; Leading term
Note:
See TracChangeset
for help on using the changeset viewer.