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

spielwiese
Last change on this file since ef52d6 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.3 KB
Line 
1LIB "tst.lib"; tst_init();
2LIB "brnoeth.lib";
3int plevel=printlevel;
4printlevel=-1;
5ring s=2,(x,y),lp;
6list C=Adj_div(y9+y8+xy6+x2y3+y2+x3);
7def aff_R=C[1][1];      // the affine ring
8setring aff_R;
9listvar(aff_R);         // data in the affine ring
10CHI;                    // affine equation of the curve
11Aff_SLocus;             // ideal of the affine singular locus
12Aff_SPoints[1];         // 1st affine singular point: (1:1:1), no.1
13Inf_Points[1];          // singular point(s) at infinity: (1:0:0), no.4
14Inf_Points[2];          // list of non-singular points at infinity
15//
16def proj_R=C[1][2];     // the projective ring
17setring proj_R;
18CHI;                    // projective equation of the curve
19C[2][1];                // degree of the curve
20C[2][2];                // genus of the curve
21C[3];                   // list of computed places
22C[4];                   // adjunction divisor (all points are singular!)
23//
24// we look at the place(s) of degree 2 by changing to the ring
25C[5][2][1];
26def S(2)=C[5][2][1];
27setring S(2);
28POINTS;                // base point(s) of place(s) of degree 2: (1:a:1)
29LOC_EQS;               // local equation(s)
30PARAMETRIZATIONS;      // parametrization(s) and exactness
31BRANCHES;              // Hamburger-Noether development
32printlevel=plevel;
33tst_status(1);$
Note: See TracBrowser for help on using the repository browser.