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


Ignore:
Timestamp:
2015-06-10T08:55:40-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r1053 r1054  
    322322  (declare (type poly p))
    323323  (reduce (ring-gcd ring) (mapcar #'term-coeff (rest (poly-termlist p))) :initial-value (poly-lc p)))
    324 
    325 (defun variable-basis (ring n &aux (basis (make-list n)))
    326   "Generate a list of polynomials X[i], i=0,1,...,N-1."
    327   (dotimes (i n basis)
    328     (setf (elt basis i) (make-variable ring n i))))
    329 
Note: See TracChangeset for help on using the changeset viewer.