- Timestamp:
- 2015-09-05T20:19:50-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r3625 r3626 147 147 (:documentation "The leading coefficient of a polynomial. It signals error for a zero polynomial.")) 148 148 149 ;; Leading monomial150 (defgeneric leading-monomial (object)151 (:method ((self poly))152 (car (poly-leading-term self)))153 (:documentation "The leading monomial of a polynomial. It signals error for a zero polynomial."))154 155 149 ;; Second leading coefficient 156 150 (defgeneric second-leading-coefficient (object) 157 151 (:method ((self poly)) 158 ( cdr(poly-second-leading-term self)))152 (term-coeff (poly-second-leading-term self))) 159 153 (:documentation "The second leading coefficient of a polynomial. It 160 154 signals error for a polynomial with at most one term."))
Note:
See TracChangeset
for help on using the changeset viewer.