close Warning: Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.

Changeset 3513


Ignore:
Timestamp:
2015-09-05T11:44:09-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r3512 r3513  
    118118                         :termlist (list (cons old 1))))
    119119 
    120 (defmethod r-equalp ((self poly) (other poly))
    121   "POLY instances are R-EQUALP if they have the same
    122 order and if all terms are R-EQUALP."
     120(defgeneric poly-equalp (self other)
     121  (:documentation "POLY instances are POLY-EQUALP if they have the same
     122order and if their terms are equal."
     123
     124  (:method ((self poly) (other poly))
    123125  (and (every #'r-equalp (poly-termlist self) (poly-termlist other))
    124126       (eq (poly-term-order self) (poly-term-order other))))
Note: See TracChangeset for help on using the changeset viewer.