| LIB "brnoeth.lib";
ring s=3,T,lp;
matrix C[2][5]=0,1,0,1,1,0,1,0,0,1;
print(C);
→ 0,1,0,1,1,
→ 0,1,0,0,1
list L=sys_code(C);
L[3];
→ 2,4,3,1,5
// here is the generator matrix in standard form
print(L[1]);
→ 1,0,0,0,1,
→ 0,1,0,0,0
// here is the control matrix in standard form
print(L[2]);
→ 0, 0,1,0,0,
→ 0, 0,0,1,0,
→ -1,0,0,0,1
// we can check that both codes are dual to each other
print(L[1]*transpose(L[2]));
→ 0,0,0,
→ 0,0,0
|