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-06T13:18:56-07:00 (8 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r4339 r4343  
    622622
    623623
    624 (defun poly-eval (expr vars order &optional (coefficient-ring 'rational-field))
     624(defun poly-eval (expr vars order &optional (coefficient-class 'rational-field))
    625625  "Evaluate Lisp form EXPR to a polynomial or a list of polynomials in
    626626variables VARS. Return the resulting polynomial or list of
     
    639639         (make-poly-variable (length vars) pos)))
    640640      ((numberp expr)
    641        (make-poly-constant (length vars) (make-instance coefficient-ring :value expr)))
     641       (make-poly-constant (length vars) (make-instance coefficient-class :value expr)))
    642642      ((eq (car expr) +list-marker+)
    643643       (cons +list-marker+ (p-eval-list (cdr expr))))
Note: See TracChangeset for help on using the changeset viewer.