source: git/Tst/Manual/AGcode_L.tst

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