level 4
with(MTM);
size(Matrix(2, 3));
2015年12月02日 17点12分
2
level 4
ArrayTools[Size] - return the size of an Array in each dimension
2015年12月02日 17点12分
3
level 2
ArrLen := proc(array)
if type(array, 'Array') then
return ArrayNumElems(array);
else
return nops(array);
fi;
end;
2015年12月07日 06点12分
4