Changeset 3824
- Timestamp:
- 2016-05-28T01:18:43-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monom.lisp
r3823 r3824 543 543 and powers of some variables, such as 5*X^2*Y^3.")) 544 544 545 (defmethod update-instance-for-different-class :before((old monom) (new term) &key (coeff 1))545 (defmethod update-instance-for-different-class ((old monom) (new term) &key (coeff 1)) 546 546 "Converts OLD of class MONOM to a NEW of class TERM, initializing coefficient to COEFF." 547 547 (reinitialize-instance new :coeff coeff)) … … 600 600 (:method ((self term)) 601 601 "A human-readable representation of a term SELF as a cons of the list of exponents and the coefficient." 602 (cons (coerce (monom-exponents m) 'list) (term-coeff m))))602 (cons (coerce (monom-exponents self) 'list) (term-coeff self))))
Note:
See TracChangeset
for help on using the changeset viewer.