source: git/Tst/Manual/hnexpansion.tst @ 0d6b7fc

spielwiese Release-4-3-2p2
Last change on this file since 0d6b7fc 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: 721 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "hnoether.lib";
3ring r=0,(x,y),dp;
4// First, an example which requires no field extension:
5list Hne=hnexpansion(x4-y6);
6size(Hne);           // number of branches
7displayHNE(Hne);     // HN expansion of branches
8param(Hne[1]);       // parametrization of 1st branch
9param(Hne[2]);       // parametrization of 2nd branch
10// An example which requires a field extension:
11list L=hnexpansion((x4-y6)*(y2+x4));
12def R=L[1]; setring R; displayHNE(hne);
13basering;
14setring r; kill R;
15// Computing only one representative per conjugacy class:
16L=hnexpansion((x4-y6)*(y2+x4),"ess");
17def R=L[1]; setring R; displayHNE(hne);
18L[2];     // number of branches in respective conjugacy classes
19tst_status(1);$
Note: See TracBrowser for help on using the repository browser.