close Warning: Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.

Changeset 3824 for branches


Ignore:
Timestamp:
2016-05-28T01:18:43-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monom.lisp

    r3823 r3824  
    543543and powers of some variables, such as 5*X^2*Y^3."))
    544544
    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))
    546546  "Converts OLD of class MONOM to a NEW of class TERM, initializing coefficient to COEFF."
    547547  (reinitialize-instance new :coeff coeff))
     
    600600  (:method ((self term))
    601601    "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.