print $A->getdim(0); #column print $A->getdim(1); #row ....and for the rest matrices