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.

Ignore:
Timestamp:
2016-06-17T12:31:47-07:00 (8 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial-sugar.lisp

    r4516 r4517  
    6868(defclass poly-with-sugar (poly sugar) ())
    6969
     70(defmethod print-object ((self poly-with-sugar) stream)
     71  (print-unreadable-object (self stream :type t :identity t)
     72    (with-accessors ((termlist poly-termlist)
     73                     (order poly-term-order)
     74                     (value sugar-value))
     75        self
     76      (format stream "TERMLIST=~A ORDER=~A SUGAR=~A"
     77              termlist order value))))
     78
     79
    7080(defmethod shared-initialize :after ((self poly-with-sugar) slot-names &rest initargs &key)
    7181  "Initialize sugar to its static value, which is the maximum of sugar values of the terms."
Note: See TracChangeset for help on using the changeset viewer.