Singular
http://www.singular.uni-kl.de/forum/

why output matrix number of rows and columns are not 4?
http://www.singular.uni-kl.de/forum/viewtopic.php?f=10&t=2542
Page 1 of 1

Author:  secretname [ Fri Jun 17, 2016 10:35 am ]
Post subject:  why output matrix number of rows and columns are not 4?

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 ?

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/