Changeset 1455 for branches/f4grobner
- Timestamp:
- 2015-06-12T11:03:44-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/5am-tests.lisp
r1454 r1455 333 333 (order #'lex>) 334 334 (ring-and-order (make-ring-and-order :ring ring :order order)) 335 (lcm-f-and-g (string->poly "(x+y)^2*(x-y)" '(x y)))) 336 (is (poly-equal-no-sugar-p (poly-lcm ring-and-order f g) lcm-f-and-g)))) 337 338 (defun foo () 339 (let* (($poly_grobner_algorithm :buchberger) 340 (f (string->poly "x^2-y^2" '(x y))) 341 (g (string->poly "x^2+2*x*y+y^2" '(x y))) 342 (ring *ring-of-integers*) 343 (order #'lex>) 344 (ring-and-order (make-ring-and-order :ring ring :order order))) 345 (poly-lcm ring-and-order f g))) 335 (lcm-f-and-g (string->poly "(x+y)^2*(x-y)" '(x y))) 336 (gcd-f-and-g (string->poly "x+y" '(x y)))) 337 (is (poly-equal-no-sugar-p (poly-lcm ring-and-order f g) lcm-f-and-g)) 338 (is (poly-equal-no-sugar-p (poly-gcd ring-and-order f g) gcd-f-and-g)))) 346 339 347 340
Note:
See TracChangeset
for help on using the changeset viewer.