<< modulo Elementary Functions |, || >>

Scilab Help >> Elementary Functions > ndims

ndims

配列の次元の数

呼び出し手順

n = ndims(A)

引数

A

配列

n

整数, 配列の次元の数

説明

n = ndims(A)は,配列Aの 次元の数を返します. nは,2以上となります.

A=rand(2,3);
ndims(A)
A=rand(2,3,2);
size(A),ndims(A)
H=[1/%s,1/(%s+1)]
ndims(H)

参照


Report an issue
<< modulo Elementary Functions |, || >>