Changeset 3081 for branches/f4grobner
- Timestamp:
- 2015-06-21T20:27:27-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r3080 r3081 306 306 (t (monom-dimension (leading-term poly))))) 307 307 308 (defun saturation-extension ( Fplist308 (defun saturation-extension (plist 309 309 &aux 310 310 (k (length plist)) 311 (d (+ k (monom-dimension (poly-lt (car plist)))))312 311 (plist (poly-standard-extension plist)) 313 (dim (poly-dimension (car plist))))314 "Calculate [ F,U1*P1-1,U2*P2-1,...,UK*PK-1], where PLIST=[P1,P2,...,PK].312 (dimension (poly-dimension (car plist)))) 313 "Calculate [U1*P1-1,U2*P2-1,...,UK*PK-1], where PLIST=[P1,P2,...,PK]. 315 314 The polynomials in F are destructively modified by inserting k variables 316 315 at the beginning." 317 316 (flet ((subtract-1 (p) 318 (append-item p (make-instance 'term :coeff -1 :dimension dim ))))317 (append-item p (make-instance 'term :coeff -1 :dimension dimension)))) 319 318 (print plist) 320 319 (setf plist (mapc #'subtract-1 plist))
Note:
See TracChangeset
for help on using the changeset viewer.