- Timestamp:
- 2015-06-15T18:05:34-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r1913 r1914 490 490 (defun poly-equal-no-sugar-p (p q) 491 491 "Compare polynomials for equality, ignoring sugar." 492 (declare (type poly p q)) 492 493 (equalp (poly-termlist p) (poly-termlist q))) 493 494 494 495 (defun poly-set-equal-no-sugar-p (p q) 495 496 "Compare polynomial sets P and Q for equality, ignoring sugar." 497 (declare (type poly p q)) 496 498 (null (set-exclusive-or p q :test #'poly-equal-no-sugar-p ))) 497 499 498 500 (defun poly-list-equal-no-sugar-p (p q) 499 501 "Compare polynomial lists P and Q for equality, ignoring sugar." 502 (declare (type poly p q)) 500 503 (every #'poly-equal-no-sugar-p p q))
Note:
See TracChangeset
for help on using the changeset viewer.