source: git/Tst/Short/polyclass.tst

spielwiese
Last change on this file was 31e58a, checked in by Hans Schoenemann <hannes@…>, 6 years ago
fix: sets.lib and format of *tst
  • Property mode set to 100644
File size: 880 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4LIB "polyclass.lib";
5printlevel=0;
6
7 ring R1=0,(x,y),dp;
8 Poly f=3*x^2+x*y+1;
9 Poly g=2*x+y^3;
10 f*g;
11 f+g;
12 f^3;
13 string(f);
14
15
16 ring R=(0,a),(x,y,z,w),ds;
17 minpoly = a^2-2;
18 Poly f=x^4+x^2*y^2+a*y^8+z^2-w^2;
19 NormalFormEquation F;
20 F.vars = ringlist(R)[2];
21 F.realCase = 1;
22 F.normalFormEquation = f;
23 F.modality = 1;
24 F.corank = 2;
25 F.inertiaIndex = 1;
26 F.determinacy = 8;
27 F.milnorNumber = milnor(f.value);
28 F.parameters = list(list(a*y^8,list(0,2)));
29 F.singularityType = "X[13]";
30 F;
31
32
33 ring R2=(0),(x,y,z,w),ds;
34 Poly f=x^4+x^2*y^2+7*y^8+z^2-w^2;
35 NormalFormEquation F;
36 F.vars = ringlist(R2)[2];
37 F.realCase = 1;
38 F.normalFormEquation = f;
39 F.modality = 1;
40 F.corank = 2;
41 F.inertiaIndex = 1;
42 F.determinacy = 8;
43 F.milnorNumber = milnor(f.value);
44 F.parameters = list(list(7*y^8,list(-6,8)));
45 F.singularityType = "X[13]";
46 F;
47
48tst_status(1);$
49
Note: See TracBrowser for help on using the repository browser.