Changeset 3629
- Timestamp:
- 2015-09-05T20:21:04-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r3628 r3629 147 147 (:documentation "The leading coefficient of a polynomial. It signals error for a zero polynomial.")) 148 148 149 ;; Second leading coefficient 149 150 150 (defgeneric second-leading-coefficient (object) 151 151 (:method ((self poly)) … … 154 154 signals error for a polynomial with at most one term.")) 155 155 156 ;; Testing for a zero polynomial 157 (defmethod universal-zerop (self) 158 (:method ((self poly)) 159 (null (poly-termlist self)))) 156 (defmethod universal-zerop ((self poly)) 157 "Return T iff SELF is a zero polynomial." 158 (null (poly-termlist self)))) 160 159 161 160 ;; The number of terms
Note:
See TracChangeset
for help on using the changeset viewer.