source: git/Tst/Manual/Eresol.tst @ cbf01b

fieker-DuValspielwiese
Last change on this file since cbf01b 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: 1.0 KB
Line 
1LIB "tst.lib"; tst_init();
2LIB "resbinomial.lib";
3ring r = 0,(x(1..2)),dp;
4ideal J=x(1)^2-x(2)^3;
5list L=Eresol(J);
6"Please press return after each break point to see the next element of the output list";
7L[1][1]; // information of the first chart, L[1] list of charts
8~;
9L[2]; // list of charts with information about sons
10~;
11L[3]; // invariant, "#" means solved chart
12~;
13L[4]; // number of charts, 7 in this example
14~;
15L[5]; // height corresponding to each chart
16~;
17L[6]; // number of sons
18~;
19L[7]; // auxiliary invariant
20~;
21L[8]; // H exceptional divisors and more information
22~;
23L[9]; // complete resolution function
24"Second example, write L[i] to see the i-th component of the list";
25ring r = 0,(x(1..3)),dp;
26ideal J=x(1)^2*x(2),x(3)^3; // SOLVED!
27list L=Eresol(J);
28L[4];  // 16 charts
29L[9]; // complete resolution function
30~;
31"Third example, write L[i] to see the i-th component of the list";
32ring r = 0,(x(1..2)),dp;
33ideal J=x(1)^3-x(1)*x(2)^3;
34list L=Eresol(J);
35L[4];  // 8 charts, rational exponents
36L[9]; // complete resolution function
37~;
38tst_status(1);$
Note: See TracBrowser for help on using the repository browser.