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 | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | ring R=QQ,(x,y,z),dp; |
---|
4 | module a=[x3+y3+xy,1]; |
---|
5 | module b=[x]; |
---|
6 | list l=system ("DivRemIdU",a,b); |
---|
7 | typeof(l[1]); |
---|
8 | l[1]; |
---|
9 | attrib(l[1],"rank"); |
---|
10 | typeof(l[2]); |
---|
11 | l[2]; |
---|
12 | typeof(l[3]); |
---|
13 | l[3]; |
---|
14 | ideal A=x3+y3+xy; |
---|
15 | ideal B=x; |
---|
16 | list L=system ("DivRemIdU",A,B); |
---|
17 | typeof(L[1]); |
---|
18 | L[1]; |
---|
19 | NF(A,B); |
---|
20 | attrib(L[1],"rank"); |
---|
21 | L[2]; |
---|
22 | L[3]; |
---|
23 | A=A,z; |
---|
24 | L=system ("DivRemIdU",A,B); |
---|
25 | L; |
---|
26 | attrib(L[3],"rank"); |
---|
27 | |
---|
28 | // Finally statistics... |
---|
29 | tst_status(1);$ |
---|
30 | |
---|
Note: See
TracBrowser
for help on using the repository browser.