source: git/Tst/Short/divrem.tst

spielwiese
Last change on this file was 2444c0, checked in by Hans Schoenemann <hannes@…>, 3 months ago
idDivRem for modules
  • Property mode set to 100644
File size: 426 bytes
Line 
1LIB "tst.lib";
2tst_init();
3ring R=QQ,(x,y,z),dp;
4module a=[x3+y3+xy,1];
5module b=[x];
6list l=system ("DivRemIdU",a,b);
7typeof(l[1]);
8l[1];
9attrib(l[1],"rank");
10typeof(l[2]);
11l[2];
12typeof(l[3]);
13l[3];
14ideal A=x3+y3+xy;
15ideal B=x;
16list L=system ("DivRemIdU",A,B);
17typeof(L[1]);
18L[1];
19NF(A,B);
20attrib(L[1],"rank");
21L[2];
22L[3];
23A=A,z;
24L=system ("DivRemIdU",A,B);
25L;
26attrib(L[3],"rank");
27
28// Finally statistics...
29tst_status(1);$
30
Note: See TracBrowser for help on using the repository browser.