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


Ignore:
Timestamp:
2015-06-11T11:56:53-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r1216 r1217  
    121121
    122122(defun poly-reset-sugar (p)
    123   "(Re)sets the sugar of a polynomial P to the sugar of (POLY-TERMLIST P)."
     123  "(Re)sets the sugar of a polynomial P to the sugar of (POLY-TERMLIST P).
     124Thus, the sugar is set to the maximum sugar of all monomials of P, or -1
     125if P is a zero polynomial."
    124126  (declare (type poly p))
    125127  (setf (poly-sugar p) (termlist-sugar (poly-termlist p)))
Note: See TracChangeset for help on using the changeset viewer.