Changeset 1054 for branches/f4grobner
- Timestamp:
- 2015-06-10T08:55:40-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r1053 r1054 322 322 (declare (type poly p)) 323 323 (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.