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 1908 for branches


Ignore:
Timestamp:
2015-06-15T18:03:54-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r1907 r1908  
    275275  "Calculate [F, U1*P1+U2*P2+...+UK*PK-1], where PLIST=[P1,P2,...,PK]. It destructively modifies F."
    276276  ;; Add -1 as the last term
     277  (declare (type ring ring))
    277278  (setf (cdr (last (poly-termlist plist)))
    278279        (list (make-term :monom (make-monom :dimension d)
     
    282283(defun saturation-extension-1 (ring f p)
    283284  "Calculate [F, U*P-1]. It destructively modifies F."
     285  (declare (type ring ring))
    284286  (polysaturation-extension ring f (list p)))
    285287
     
    293295  "Coerce an element of the coefficient ring to a constant polynomial."
    294296  ;; Modular arithmetic handler by rat
     297  (declare (type ring ring))
    295298  (make-poly-from-termlist (list (make-term :monom (make-monom :dimension (length vars))
    296299                                            :coeff (funcall (ring-parse ring) expr)))
Note: See TracChangeset for help on using the changeset viewer.