Read-only forum archive

why output matrix number of rows and columns are not 4?

why output matrix number of rows and columns are not 4?

secretname ยท Fri Jun 17, 2016 10:35 am

i can run now, after remove *, but something not understand yet

LIB "homolog.lib";
int p = printlevel;
printlevel= 1;
ring r = 0,(abc,ac,bc,c),dp;
module M = [0,1,0],[0,0,1],[1,0,0];
module A = [0,1,1],[1,0,1],[1,1,0];
module H = Hom(M,A);


0,0,0,1,0,0,1,0,0,
0,0,0,0,1,0,0,1,0,
0,0,0,0,0,1,0,0,1,
1,0,0,0,0,0,1,0,0,
0,1,0,0,0,0,0,1,0,
0,0,1,0,0,0,0,0,1,
1,0,0,1,0,0,0,0,0,
0,1,0,0,1,0,0,0,0,
0,0,1,0,0,1,0,0,0

why number of columns and rows are not equal to less than or equal to 4 ?

i expect first column represent abc, second column ac

here first equation will be

c+b*c

is it my input M and A are wrong so that are not 4*4 or 3*3 ?