- Timestamp:
- 2015-06-12T11:00:06-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/5am-tests.lisp
r1450 r1451 328 328 "Polynomial LCM" 329 329 (let* (($poly_grobner_algorithm :buchberger) 330 ( I (cdr (string->poly "[x^2*y,x*y^2]" '(x y))))331 ( J (cdr (string->poly "[x,y]" '(x y))))332 (ring *ring-of-integers*) 333 (order #'lex>) 334 (ring-and-order (make-ring-and-order :ring ring :order order)) 335 ( I-colon-J (cdr (string->poly "[x*y]" '(x y)))))336 (is ( every #'poly-equal-no-sugar-p (colon-ideal ring-and-order I J) I-colon-J))))330 (f (string->poly "x^2-y^2" '(x y))) 331 (g (string->poly "x^2+2*xy+y^2" '(x y))) 332 (ring *ring-of-integers*) 333 (order #'lex>) 334 (ring-and-order (make-ring-and-order :ring ring :order order)) 335 (lcm-f-and-g (string->poly "[x+y]" '(x y)))) 336 (is (poly-equal-no-sugar-p (poly-lcm ring-and-order f g) lcm-f-and-g)))) 337 337 338 338
Note:
See TracChangeset
for help on using the changeset viewer.