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


Ignore:
Timestamp:
2016-06-06T18:18:09-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r4347 r4363  
    614614          (t (cons '+ m)))))
    615615
    616 (defparameter +list-marker+ :[
     616(defconstant +list-marker+ :[
    617617  "A sexp with this head is considered a list of polynomials.")
    618618
     
    622622
    623623
    624 (defun poly-eval (expr vars order &optional (coefficient-class 'rational-field))
     624(defvar *coefficient-class* 'rational-field
     625  "The default class in which coefficients are created from
     626NUMBER tokens.")
     627
     628(defun poly-eval (expr vars order &optional (coefficient-class *coefficient-class*))
    625629  "Evaluate Lisp form EXPR to a polynomial or a list of polynomials in
    626630variables VARS. Return the resulting polynomial or list of
Note: See TracChangeset for help on using the changeset viewer.