Changeset 58 for branches/f4grobner
- Timestamp:
- 2015-06-05T11:19:55-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r57 r58 225 225 (reduce (ring-gcd ring) (mapcar #'term-coeff (rest (poly-termlist p))) :initial-value (poly-lc p))) 226 226 227 (defun buchberger-criterion (ring g)228 "Returns T if G is a Grobner basis, by using the Buchberger229 criterion: for every two polynomials h1 and h2 in G the S-polynomial230 S(h1,h2) reduces to 0 modulo G."231 (every232 #'poly-zerop233 (makelist (normal-form ring (spoly ring (elt g i) (elt g j)) g nil)234 (i 0 (- (length g) 2))235 (j (1+ i) (1- (length g))))))236
Note:
See TracChangeset
for help on using the changeset viewer.