source: git/Tst/Manual/closureFrac.tst @ 951db29

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