close Warning: Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.

Changeset 3700 for branches


Ignore:
Timestamp:
2015-09-06T06:55:47-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r3699 r3700  
    467467  (scalar-divide-by object (poly-content object)))
    468468
    469 (defun poly-add-variables (self k)
     469(defun poly-insert-variables (self k)
    470470  (left-tensor-product-by self (make-instance 'monom :dimension k)))
    471471
    472472(defun saturation-extension (f plist &aux (k (length plist)))
    473473  "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)
    475475         (standard-extension-1 plist)))
    476476
     
    478478(defun polysaturation-extension (f plist &aux (k (length plist)))
    479479  "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)
    481481         (standard-sum plist)))
    482482
Note: See TracChangeset for help on using the changeset viewer.