source: git/Tst/Manual/invariants.tst @ 951db29

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