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 3344 for branches/f4grobner


Ignore:
Timestamp:
2015-06-23T11:38:21-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r3343 r3344  
    8888                         :dimension (monom-dimension old)
    8989                         :termlist (list old)))
     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))))
    9096
    9197(defmethod r-equalp ((self poly) (other poly))
Note: See TracChangeset for help on using the changeset viewer.