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


Ignore:
Timestamp:
2015-09-05T11:11:57-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r3504 r3505  
    9292  (dolist (x alist poly)
    9393    (poly-insert-term poly (make-instance 'monom :exponents (car x)) (cdr x))))
    94 
    95 
    96 (defmethod update-instance-for-different-class :after ((old term) (new poly) &key)
    97   "Converts OLD of class TERM to a NEW of class POLY, by making it into a 1-element TERMLIST."
    98   (reinitialize-instance new
    99                          :dimension (monom-dimension old)
    100                          :termlist (list old)))
    10194
    10295(defmethod update-instance-for-different-class :after ((old monom) (new poly) &key)
Note: See TracChangeset for help on using the changeset viewer.