spielwiese
Last change
on this file since 7bb006 was
894057,
checked in by Oleksandr Motsak <motsak@…>, 13 years ago
|
ADD: Tests from online manual (res+stat on mamawutz): short ones Tst/Manual/s.lst
|
-
Property mode set to
100644
|
File size:
447 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "homolog.lib"; |
---|
3 | int p = printlevel; |
---|
4 | ring rr = 32003,(x,y,z),(dp,C); |
---|
5 | ideal I = x4+y3+z2; |
---|
6 | qring o = std(I); |
---|
7 | module M = [x,y,0,z],[y2,-x3,z,0],[z,0,-y,-x3],[0,z,x,-y2]; |
---|
8 | print(cup(M)); |
---|
9 | print(cup(M,1)); |
---|
10 | // 2nd EXAMPLE (shows what is going on) |
---|
11 | printlevel = 3; |
---|
12 | ring r = 0,(x,y),(dp,C); |
---|
13 | ideal i = x2-y3; |
---|
14 | qring q = std(i); |
---|
15 | module M = [-x,y],[-y2,x]; |
---|
16 | print(cup(M)); |
---|
17 | printlevel = p; |
---|
18 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.