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 1250 for branches/f4grobner


Ignore:
Timestamp:
2015-06-11T15:29:33-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

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

    r1225 r1250  
    232232         (ring-and-order (make-ring-and-order :ring ring :order order))
    233233         (quotients (cdr (string->poly "[x-y,0]" '(x y)))))
    234     (is (equalp (multiple-value-list (normal-form ring-and-order f fl)) (list y-sq 1 2))
     234    (is (equalp (multiple-value-list (normal-form ring-and-order f fl)) (list y-sq 1 2)))
    235235    (is (equalp (multiple-value-list (poly-pseudo-divide ring-and-order f fl))
    236236                (list quotients y-sq 1 2)))
    237237    (is-false (buchberger-criterion ring-and-order fl))))
    238238
     239(defun foo()
     240  (let* ((f (string->poly "x^2" '(x y)))
     241         (y-sq (string->poly "y^2" '(x y)))
     242         (fl (cdr (string->poly "[x+y,x-2*y]" '(x y))))
     243         (ring *ring-of-integers*)
     244         (order #'lex>)
     245         (ring-and-order (make-ring-and-order :ring ring :order order))
     246         (quotients (cdr (string->poly "[x-y,0]" '(x y)))))
     247    (poly-pseudo-divide ring-and-order f fl)))
     248
    239249
    240250(run! 'ngrobner-suite)
Note: See TracChangeset for help on using the changeset viewer.