Changeset 1478 for branches/f4grobner
- Timestamp:
- 2015-06-12T12:18:08-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/5am-tests.lisp
r1472 r1478 359 359 (is-true (grobner-equal ring-and-order fl gl)))) 360 360 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 361 379 (test ideal-saturation-1 362 380 "Calculate F : p^inf"
Note:
See TracChangeset
for help on using the changeset viewer.