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 1848


Ignore:
Timestamp:
2015-06-15T14:08:44-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/.junk/poly-eval.lisp

    r1063 r1848  
    4444is a number then convert it to a polynomial in N variables."
    4545  (if (numberp number-or-poly)
    46       (make-poly-from-termlist (list (make-term (make-monom :dimension n) number-or-poly)))
     46      (make-poly-from-termlist (list (make-term :monom (make-monom :dimension n) :coeff number-or-poly)))
    4747      number-or-poly))
    4848
     
    8888  "Generate a list of polynomials X[i], i=0,1,...,N-1."
    8989  (dotimes (i n basis)
    90     (setf (elt basis i) (make-variable ring n i))))
     90    (setf (elt basis i) (make-poly-variable ring n i))))
    9191
    9292
Note: See TracChangeset for help on using the changeset viewer.