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 1452


Ignore:
Timestamp:
2015-06-12T11:01:20-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

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

    r1451 r1452  
    329329  (let* (($poly_grobner_algorithm :buchberger)
    330330         (f (string->poly "x^2-y^2" '(x y)))
    331          (g (string->poly "x^2+2*xy+y^2" '(x y)))
     331         (g (string->poly "x^2+2*x*y+y^2" '(x y)))
    332332         (ring *ring-of-integers*)
    333333         (order #'lex>)
     
    336336    (is (poly-equal-no-sugar-p (poly-lcm ring-and-order f g) lcm-f-and-g))))
    337337
     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)))
     346
    338347
    339348(run! 'ngrobner-suite)
Note: See TracChangeset for help on using the changeset viewer.