maple如何查看数组大小的命令
maple吧
全部回复
仅看楼主
level 1
神道男 楼主
一个数组的长度如何获得
2015年12月02日 07点12分 1
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
1