Changeset 3505
- Timestamp:
- 2015-09-05T11:11:57-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r3504 r3505 92 92 (dolist (x alist poly) 93 93 (poly-insert-term poly (make-instance 'monom :exponents (car x)) (cdr x)))) 94 95 96 (defmethod update-instance-for-different-class :after ((old term) (new poly) &key)97 "Converts OLD of class TERM to a NEW of class POLY, by making it into a 1-element TERMLIST."98 (reinitialize-instance new99 :dimension (monom-dimension old)100 :termlist (list old)))101 94 102 95 (defmethod update-instance-for-different-class :after ((old monom) (new poly) &key)
Note:
See TracChangeset
for help on using the changeset viewer.