Changeset 3402 for branches/f4grobner
- Timestamp:
- 2015-08-27T09:43:32-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r3401 r3402 92 92 93 93 94 (defmethod update-instance-for-different-class :after ((old term) (new poly) &key) 95 "Converts OLD of class TERM to a NEW of class POLY, by making it into a 1-element TERMLIST." 96 (reinitialize-instance new 97 :dimension (monom-dimension old) 98 :termlist (list old))) 99 94 100 (defmethod update-instance-for-different-class :after ((old monom) (new poly) &key) 95 101 "Converts OLD of class MONOM to a NEW of class POLY, by making it into a 1-element TERMLIST." … … 97 103 :dimension (monom-dimension old) 98 104 :termlist (list (change-class old 'term))) 99 100 101 (defmethod update-instance-for-different-class :after ((old term) (new poly) &key)102 "Converts OLD of class TERM to a NEW of class POLY, by making it into a 1-element TERMLIST."103 (reinitialize-instance new104 :dimension (monom-dimension old)105 :termlist (list old)))106 105 107 106 (defmethod r-equalp ((self poly) (other poly))
Note:
See TracChangeset
for help on using the changeset viewer.