fieker-DuValspielwiese
Last change
on this file since a72a30 was
c6b5f62,
checked in by Andreas Steenpass <steenpass@…>, 10 years ago
|
add: tests for modstd.lib
(cherry picked from commit ea214dec3a1e971fa30dee982acbda44c9a04c7c)
Signed-off-by: Andreas Steenpass <steenpass@mathematik.uni-kl.de>
|
-
Property mode set to
100644
|
File size:
317 bytes
|
Line | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | |
---|
4 | LIB "modstd.lib"; |
---|
5 | |
---|
6 | /* more than 16 primes needed: cyclic 7 */ |
---|
7 | ring r1 = 0, x(1..7), dp; |
---|
8 | ideal I = cyclic(7); |
---|
9 | modStd(I); |
---|
10 | |
---|
11 | /* example from the book by Decker and Lossen */ |
---|
12 | ring R = 0, (x,y,z), lp; |
---|
13 | ideal I = 3x3y+x3+xy3+y2z2, 2x3z-xy-xz3-y4-z2, 2x2yz-2xy2+xz2-y4; |
---|
14 | modStd(I); |
---|
15 | |
---|
16 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.