spielwiese
Last change
on this file since 76ce4e6 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:
527 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "algebra.lib"; |
---|
3 | ring r = 0,(a,b,c),ds; |
---|
4 | ring s = 0,(x,y,z,u,v,w),dp; |
---|
5 | ideal I = x-w,u2w+1,yz-v; |
---|
6 | map phi = r,I; // a map from r to s: |
---|
7 | alg_kernel(phi,r); // a,b,c ---> x-w,u2w+1,yz-v |
---|
8 | ring S = 0,(a,b,c),ds; |
---|
9 | ring R = 0,(x,y,z),dp; |
---|
10 | qring Q = std(x-y); |
---|
11 | ideal i = x, y, x2-y3; |
---|
12 | map phi = S,i; // a map to a quotient ring |
---|
13 | alg_kernel(phi,S,"ker",3); // uses algorithm 3 |
---|
14 | setring S; // you have access to kernel in preimage |
---|
15 | ker; |
---|
16 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.