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:
503 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "normal.lib"; |
---|
3 | ring R=0,(x,y),dp; |
---|
4 | ideal ker=x2+y2; |
---|
5 | export ker; |
---|
6 | list L=primeClosure(R); // We normalize R/ker |
---|
7 | for (int i=1;i<=size(L);i++) { def R(i)=L[i]; } |
---|
8 | setring R(2); |
---|
9 | kill R; |
---|
10 | phi; // The map R(1)-->R(2) |
---|
11 | poly f=T(2); // We will get a representation of f |
---|
12 | export f; |
---|
13 | L[2]=R(2); |
---|
14 | closureFrac(L); |
---|
15 | setring R(1); |
---|
16 | kill R(2); |
---|
17 | fraction; // f=fraction[1]/fraction[2] via phi |
---|
18 | kill R(1); |
---|
19 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.