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


Ignore:
Timestamp:
2016-06-06T11:57:23-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

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

    r4324 r4335  
    147147    (is (universal-equalp (s-polynomial f g) s-poly))))
    148148
     149(test poly-s-polynomial-alt
     150  "S-Polynomial with non-coprime coeffs"
     151  (let* ((f (alist->poly '( ((1 0 0) . 1) ((1 0 1) . 14)))) ;x+14*x*z |*3*y*z
     152         (g (alist->poly '( ((0 1 0) . 1) ((0 1 2) . 21)))) ;y+21*y*z^2 |*2*x
     153         (s-poly (alist->poly '( ((1 1 0) . -2) ((1 1 1) . 3)))) ;3*x*y*z - 2*x*y
     154         )
     155    (is (universal-equalp (s-polynomial f g) s-poly))))
     156
    149157(test poly-content
    150158  "Poly-content"
Note: See TracChangeset for help on using the changeset viewer.