Changeset 3526 for branches/f4grobner
- Timestamp:
- 2015-09-05T15:10:41-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r3525 r3526 131 131 132 132 ;; Leading term 133 (defgeneric leading-term (object)133 (defgeneric poly-leading-term (object) 134 134 (:method ((self poly)) 135 135 (car (poly-termlist self))) … … 137 137 138 138 ;; Second term 139 (defgeneric second-leading-term (object)139 (defgeneric poly-second-leading-term (object) 140 140 (:method ((self poly)) 141 141 (cadar (poly-termlist self))) … … 143 143 144 144 ;; Leading coefficient 145 (defgeneric leading-coefficient (object)145 (defgeneric poly-leading-coefficient (object) 146 146 (:method ((self poly)) 147 (cdr ( leading-term self)))147 (cdr (poly-leading-term self))) 148 148 (:documentation "The leading coefficient of a polynomial. It signals error for a zero polynomial.")) 149 149
Note:
See TracChangeset
for help on using the changeset viewer.