spielwiese
Last change
on this file since 951db29 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:
958 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "hnoether.lib"; |
---|
3 | ring exring=0,(x,y),dp; |
---|
4 | list Hne=develop(y4+2x3y2+x6+x5y); |
---|
5 | list INV=invariants(Hne); |
---|
6 | INV[1]; // the characteristic exponents |
---|
7 | INV[2]; // the generators of the semigroup of values |
---|
8 | INV[3],INV[4]; // the Puiseux pairs in packed form |
---|
9 | INV[5] div 2; // the delta-invariant |
---|
10 | INV[6]; // the sequence of multiplicities |
---|
11 | // To display the invariants more 'nicely': |
---|
12 | displayInvariants(Hne); |
---|
13 | ///////////////////////////// |
---|
14 | INV=invariants((x2-y3)*(x3-y5)); |
---|
15 | INV[1][1]; // the characteristic exponents of the first branch |
---|
16 | INV[2][6]; // the sequence of multiplicities of the second branch |
---|
17 | print(INV[size(INV)][1]); // the contact matrix of the branches |
---|
18 | print(INV[size(INV)][2]); // the intersection numbers of the branches |
---|
19 | INV[size(INV)][3]; // the delta invariant of the curve |
---|
20 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.