- Timestamp:
- 2015-06-23T11:39:03-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r3344 r3345 89 89 :termlist (list old))) 90 90 91 (defmethod update-instance-for-different-class :after ((old monom) (new poly) &key) 92 "Converts OLD of class TERM to a NEW of class POLY, by making it into a 1-element TERMLIST." 93 (reinitialize-instance new 94 :dimension (monom-dimension old) 95 :termlist (list (change-class old 'term)))) 91 (defmethod update-instance-for-different-class :before ((old monom) (new poly) &key) 92 (change-class old 'term)) 96 93 97 94 (defmethod r-equalp ((self poly) (other poly))
Note:
See TracChangeset
for help on using the changeset viewer.