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 1476


Ignore:
Timestamp:
2015-06-12T12:16:45-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r1475 r1476  
    251251                                 &aux
    252252                                   (k (length plist))
    253                                    (d (+ k (monom-dimension (poly-lm (car plist))))))
     253                                   (d (+ k (monom-dimension (poly-lm (car plist)))))
     254                                   f-x plist-x)
    254255  "Calculate [F, U1*P1+U2*P2+...+UK*PK-1], where PLIST=[P1,P2,...,PK]."
    255   (setf f (poly-list-add-variables f k)
    256         plist (apply #'poly-append (poly-standard-extension plist))
    257         (cdr (last (poly-termlist plist))) (list (make-term (make-monom :dimension d)
    258                                                             (funcall (ring-uminus ring) (funcall (ring-unit ring))))))
    259   (append f (list plist)))
     256  (setf f-x (poly-list-add-variables f k)
     257        plist-x (apply #'poly-append (poly-standard-extension plist))
     258        (cdr (last (poly-termlist plist-x))) (list (make-term (make-monom :dimension d)
     259                                                              (funcall (ring-uminus ring) (funcall (ring-unit ring))))))
     260  (append f-x (list plist-x)))
    260261
    261262(defun saturation-extension-1 (ring f p) (polysaturation-extension ring f (list p)))
Note: See TracChangeset for help on using the changeset viewer.