spielwiese
Last change
on this file since 951db29 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:
459 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "algebra.lib"; |
---|
3 | ring R = 0,(x,y,z),dp; |
---|
4 | ideal i = x, y, x2-y3; |
---|
5 | map phi = R,i; // a map from R to itself, z->x2-y3 |
---|
6 | is_surjective(phi); |
---|
7 | qring Q = std(ideal(z-x37)); |
---|
8 | map psi = R, x,y,x2-y3; // the same map to the quotient ring |
---|
9 | is_surjective(psi); |
---|
10 | ring S = 0,(a,b,c),dp; |
---|
11 | map psi = R,ideal(a,a+b,c-a2+b3); // a map from R to S, |
---|
12 | is_surjective(psi); // x->a, y->a+b, z->c-a2+b3 |
---|
13 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.