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


Ignore:
Timestamp:
2015-06-23T07:44:56-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r3285 r3286  
    6767            (poly-term-order self) (poly-term-order other)))
    6868    self))
    69 
    70 (defmethod update-instance-for-different-class ((old term) (new poly)
    71                                                 &key
    72                                                   &allow-other-keys)
    73   (reinitialize-instance new
    74                          :termlist (list old)
    75                          :dimension (monom-dimension old)
    76                          :order #'lex>))
    77 
    78 (defmethod update-instance-for-different-class :before ((old monom) (new poly)
    79                                                 &key
    80                                                   &allow-other-keys)
    81   (change-class old 'term))
    82 
    8369
    8470(defun alist->poly (alist &aux (poly (make-instance 'poly)))
Note: See TracChangeset for help on using the changeset viewer.