spielwiese
Last change
on this file since c2f6bd 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:
507 bytes
|
Rev | Line | |
---|
[894057] | 1 | LIB "tst.lib"; tst_init(); |
---|
| 2 | LIB "brnoeth.lib"; |
---|
| 3 | int plevel=printlevel; |
---|
| 4 | printlevel=-1; |
---|
| 5 | ring s=2,(x,y),lp; |
---|
| 6 | list HC=Adj_div(x3+y2+y); |
---|
| 7 | HC=NSplaces(1..2,HC); |
---|
| 8 | HC=extcurve(2,HC); |
---|
| 9 | def ER=HC[1][4]; |
---|
| 10 | setring ER; |
---|
| 11 | intvec G=5; // the rational divisor G = 5*HC[3][1] |
---|
| 12 | intvec D=2..9; // D = sum of the rational places no. 2..9 over F_4 |
---|
| 13 | // let us construct the corresponding evaluation AG code : |
---|
| 14 | matrix C=AGcode_L(G,D,HC); |
---|
| 15 | // here is a linear code of type [8,5,>=3] over F_4 |
---|
| 16 | print(C); |
---|
| 17 | printlevel=plevel; |
---|
| 18 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.