[GAP Forum] IsMatrix

Dr. Ashish Kumar Das akdasnehu at gmail.com
Sun Nov 14 04:00:08 GMT 2010


Dear all,
I am confused with the command IsMatrix. In GAP a matrix is a list of
lists of equal length whose entries lie in a common ring. But if I
type  mat:=[[1,2,3],[2,3]]; and then run IsMatrix(mat); I get the
reply 'true'. Moreover, If I run DimensionsMat(mat); I get the reply
'[2,3]'. Can any one tell me why does this happen?

With regards

Ashish Kumar Das
NEHU, Shillong, INDIA



More information about the Forum mailing list