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