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