- Timestamp:
- 2015-09-06T06:55:22-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r3698 r3699 471 471 472 472 (defun saturation-extension (f plist &aux (k (length plist))) 473 "Calculate [F', U1*P1-1,U2*P2-1,...,UK*PK-1], where PLIST=[P1,P2,...,PK]." 473 474 (nconc (mapc #'(lambda (x) (poly-add-variables x k)) f) 474 (standard-extension-1 plist))) 475 476 #| 477 (defun polysaturation-extension (f plist 478 &aux (k (length plist)) 479 (d (+ k (length (poly-lm (car plist)))))) 475 (standard-extension-1 plist))) 476 477 478 (defun polysaturation-extension (f plist &aux (k (length plist))) 480 479 "Calculate [F', U1*P1+U2*P2+...+UK*PK-1], where PLIST=[P1,P2,...,PK]." 481 (setf f (poly-list-add-variables f k) 482 plist (apply #'poly-append (poly-standard-extension plist)) 483 (cdr (last (poly-termlist plist))) (list (make-term (make-monom d :initial-element 0) 484 (funcall (ring-uminus ring) (funcall (ring-unit ring)))))) 485 (append f (list plist))) 486 480 (nconc (mapc #'(lambda (x) (poly-add-variables x k)) f) 481 (standard-sum plist))) 487 482 488 483 (defun saturation-extension-1 (f p) … … 490 485 F' is F with variable U inserted as the first variable. It destructively modifies F." 491 486 (polysaturation-extension f (list p))) 492 493 |#
Note:
See TracChangeset
for help on using the changeset viewer.