source: git/Tst/Manual/sheafCohBGG2.tst @ ef52d6

spielwiese
Last change on this file since ef52d6 was ef52d6, checked in by Oleksandr Motsak <motsak@…>, 11 years ago
Update testsuite wrt current master (320c4f5e64cad778b4ada9556a9b0a6c71cab83a) NOTE: some wrong/bad tests were removed... TODO: add the reset of these updates after updating LIB/
  • Property mode set to 100644
File size: 1.7 KB
Line 
1LIB "tst.lib"; tst_init(); tst_ignore("Time:");
2LIB "sheafcoh.lib";
3int pl = printlevel;
4int l,h;
5//-------------------------------------------
6// cohomology of structure sheaf on P^4:
7//-------------------------------------------
8ring r=32001,x(1..5),dp;
9module M= getStructureSheaf(); // OO_P^4
10l = -12; h = 12; // range of twists: l..h
11printlevel = 0;
12//////////////////////////////////////////////
13timer = 0;
14def A = sheafCoh(M, l, h); // global Ext method:
15tst_ignore("Time: " + string(timer));
16//////////////////////////////////////////////
17timer = 0;
18A = sheafCohBGG(M, l, h);  // BGG method (without optimization):
19tst_ignore("Time: " + string(timer));
20//////////////////////////////////////////////
21timer = 0;
22A = sheafCohBGG2(M, l, h); // BGG method (with optimization)
23tst_ignore("Time: " + string(timer));
24//////////////////////////////////////////////
25printlevel = pl;
26kill A, r;
27//-------------------------------------------
28// cohomology of cotangential bundle on P^3:
29//-------------------------------------------
30ring R=32001,(x,y,z,u),dp;
31module M = getCotangentialBundle();
32l = -12; h = 11; // range of twists: l..h
33//////////////////////////////////////////////
34printlevel = 0;
35timer = 0;
36def B = sheafCoh(M, l, h); // global Ext method:
37tst_ignore("Time: " + string(timer));
38//////////////////////////////////////////////
39timer = 0;
40B = sheafCohBGG(M, l, h);  // BGG method (without optimization):
41tst_ignore("Time: " + string(timer));
42//////////////////////////////////////////////
43timer = 0;
44B = sheafCohBGG2(M, l, h); // BGG method (with optimization)
45tst_ignore("Time: " + string(timer));
46//////////////////////////////////////////////
47printlevel = pl;
48tst_status(1);$
Note: See TracBrowser for help on using the repository browser.