spielwiese
Last change
on this file since 6051d87 was
6051d87,
checked in by Oleksandr Motsak <motsak@…>, 12 years ago
|
FIX: Manual examples need adaptation to be tests (due to HW/build-dependent output)
|
-
Property mode set to
100644
|
File size:
373 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | ring r=0,(x,y,z),dp; |
---|
3 | ideal m = maxideal(1); |
---|
4 | m; |
---|
5 | poly f = x2; |
---|
6 | poly g = y3; |
---|
7 | ideal i = x*y*z , f-g, g*(x-y) + f^4 ,0, 2x-z2y; |
---|
8 | ideal M = i + maxideal(10); |
---|
9 | timer =0; |
---|
10 | i = M*M; |
---|
11 | // timer; |
---|
12 | ncols(i); |
---|
13 | timer =0; |
---|
14 | i = M^2; |
---|
15 | ncols(i); |
---|
16 | // timer; |
---|
17 | i[ncols(i)]; |
---|
18 | vector v = [x,y-z,x2,y-x,x2yz2-y]; |
---|
19 | ideal j = ideal(v); |
---|
20 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.