- Timestamp:
- 2015-09-05T21:26:21-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r3655 r3656 143 143 (:documentation "The second leading term of a polynomial, or NIL for a polynomial with at most one term.")) 144 144 145 (defgeneric leading-monomial (object) 146 (:method ((self poly)) 147 (change-class (copy-instance (leading-term self)) 'monom)) 148 (:documentation "The leading monomial of a polynomial, or NIL for zero polynomial.")) 149 150 (defgeneric second-leading-monomial (object) 151 (:method ((self poly)) 152 (change-class (copy-instance (second-leading-term self)) 'monom)) 153 (:documentation "The leading monomial of a polynomial, or NIL for zero polynomial.")) 154 155 156 145 157 (defgeneric leading-coefficient (object) 146 158 (:method ((self poly)) 147 159 (term-coeff (leading-term self))) 148 160 (:documentation "The leading coefficient of a polynomial. It signals error for a zero polynomial.")) 149 150 161 151 162 (defgeneric second-leading-coefficient (object)
Note:
See TracChangeset
for help on using the changeset viewer.