spielwiese
Last change
on this file since 42ea848 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:
467 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "algebra.lib"; |
---|
3 | int p = printlevel; |
---|
4 | ring r = 0,(a,b,c),ds; |
---|
5 | ring s = 0,(x,y,z,u,v,w),dp; |
---|
6 | ideal I = x-w,u2w+1,yz-v; |
---|
7 | map phi = r,I; // a map from r to s: |
---|
8 | is_injective(phi,r); // a,b,c ---> x-w,u2w+1,yz-v |
---|
9 | ring R = 0,(x,y,z),dp; |
---|
10 | ideal i = x, y, x2-y3; |
---|
11 | map phi = R,i; // a map from R to itself, z --> x2-y3 |
---|
12 | list l = is_injective(phi,R,""); |
---|
13 | l[1]; |
---|
14 | def S = l[2]; setring S; |
---|
15 | ker; |
---|
16 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.