source: git/Tst/Manual/SannfsBFCT.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: 610 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "dmod.lib";
3ring r = 0,(x,y,z,w),Dp;
4poly F = x^3+y^3+z^3*w;
5// compute Ann(F^s)+<F> using slimgb only
6def A = SannfsBFCT(F);
7setring A; A;
8LD;
9// the Bernstein-Sato poly of F:
10vec2poly(pIntersect(s,LD));
11// a fancier example:
12def R = reiffen(4,5); setring R;
13RC; // the Reiffen curve in 4,5
14// compute Ann(RC^s)+<RC,diff(RC,x),diff(RC,y)>
15// using std for GB computations of ideals <I+J>
16// where I is already a GB of <I>
17// and slimgb for other ideals
18def B = SannfsBFCT(RC,1,0,1);
19setring B;
20// the Bernstein-Sato poly of RC:
21(s-1)*vec2poly(pIntersect(s,LD));
22tst_status(1);$
Note: See TracBrowser for help on using the repository browser.