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 3905 for branches


Ignore:
Timestamp:
2016-05-29T14:39:13-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r3904 r3905  
    559559
    560560(defmethod ->infix :before ((self poly) &optional vars)
     561  "Ensures that the number of variables in VARS maches the polynomial dimension of the
     562polynomial SELF."
    561563  (assert (= (length vars) (poly-dimension self))))
    562564
    563565(defmethod ->infix ((self poly) &optional vars)
     566  "Converts a polynomial SELF to a sexp."
    564567  (cons '+ (mapcar #'(lambda (x) (->infix x vars))
    565568                   (poly-termlist self))))
Note: See TracChangeset for help on using the changeset viewer.