Changeset 3700 for branches/f4grobner
- Timestamp:
- 2015-09-06T06:55:47-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r3699 r3700 467 467 (scalar-divide-by object (poly-content object))) 468 468 469 (defun poly- add-variables (self k)469 (defun poly-insert-variables (self k) 470 470 (left-tensor-product-by self (make-instance 'monom :dimension k))) 471 471 472 472 (defun saturation-extension (f plist &aux (k (length plist))) 473 473 "Calculate [F', U1*P1-1,U2*P2-1,...,UK*PK-1], where PLIST=[P1,P2,...,PK]." 474 (nconc (mapc #'(lambda (x) (poly- add-variables x k)) f)474 (nconc (mapc #'(lambda (x) (poly-insert-variables x k)) f) 475 475 (standard-extension-1 plist))) 476 476 … … 478 478 (defun polysaturation-extension (f plist &aux (k (length plist))) 479 479 "Calculate [F', U1*P1+U2*P2+...+UK*PK-1], where PLIST=[P1,P2,...,PK]." 480 (nconc (mapc #'(lambda (x) (poly- add-variables x k)) f)480 (nconc (mapc #'(lambda (x) (poly-insert-variables x k)) f) 481 481 (standard-sum plist))) 482 482
Note:
See TracChangeset
for help on using the changeset viewer.