spielwiese
Last change
on this file since 228e0b 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:
811 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "dmod.lib"; |
---|
3 | ring r = 0,(x,y),Dp; |
---|
4 | ideal F = x,y,x+y; |
---|
5 | printlevel = 0; |
---|
6 | // *1* let us compute the B ideal |
---|
7 | def A = annfsBMI(F); setring A; |
---|
8 | LD; // annihilator |
---|
9 | BS; // Bernstein-Sato ideal |
---|
10 | // *2* now, let us compute B-Sigma ideal |
---|
11 | setring r; |
---|
12 | def Sigma = annfsBMI(F,0,-1); setring Sigma; |
---|
13 | print(matrix(lead(LD))); // compact form of leading |
---|
14 | // monomials from the annihilator |
---|
15 | BS; // Bernstein-Sato B-Sigma ideal: it is principal, |
---|
16 | // so factors and multiplicities are returned |
---|
17 | // *3* and now, let us compute B-i ideal |
---|
18 | setring r; |
---|
19 | def Bi = annfsBMI(F,0,3); // that is F[3]=x+y is taken |
---|
20 | setring Bi; |
---|
21 | print(matrix(lead(LD))); // compact form of leading |
---|
22 | // monomials from the annihilator |
---|
23 | BS; // the B_3 ideal: it is principal, so factors |
---|
24 | // and multiplicities are returned |
---|
25 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.