Changeset 2513 for branches/f4grobner
- Timestamp:
- 2015-06-19T13:05:11-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r2504 r2513 60 60 (format stream "#<POLY TERMLIST=~A >" (poly-termlist self))) 61 61 62 (defgeneric insert-item (object item) 63 (:method ((self poly) (item term)) 64 (push item (poly-termlist self)) 65 self)) 66 67 (defgeneric append-item (object item) 68 (:method ((self poly) (item term)) 69 (setf (cdr (last (poly-termlist self))) (list item)) 70 self)) 62 (defmethod insert-item ((self poly) (item term)) 63 (push item (poly-termlist self)) 64 self)) 65 66 (defmethod append-item ((self poly) (item term)) 67 (setf (cdr (last (poly-termlist self))) (list item)) 68 self) 71 69 72 70 ;; Leading term
Note:
See TracChangeset
for help on using the changeset viewer.