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


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

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/5am-tests.lisp

    r1472 r1478  
    359359    (is-true (grobner-equal ring-and-order fl gl))))
    360360
     361;; Calculate [F, U1*P1-1,U2*P2-1,...,UK*PK-1], where PLIST=[P1,P2,...,PK].
     362(test saturation-extension
     363  "Saturation extension"
     364  (let* ((F (cdr (string->poly "[x^3,x^2*y]" '(x y))))
     365         (P (string->poly "x^2" '(x y)))
     366         (ring *ring-of-integers*)
     367         (ring-and-order (make-ring-and-order :ring ring :order order)))
     368    (is-true (print (saturation-extension-1 ring-and-order F p)))))
     369
     370(defun foo ()
     371  "Saturation extension"
     372  (let* ((F (cdr (string->poly "[x^3,x^2*y]" '(x y))))
     373         (P (string->poly "x^2" '(x y)))
     374         (ring *ring-of-integers*))
     375    (saturation-extension-1 ring-and-order F p)))
     376
     377
     378#+nil
    361379(test ideal-saturation-1
    362380  "Calculate F : p^inf"
Note: See TracChangeset for help on using the changeset viewer.