<< modulo Elementary Functions norm >>

Scilab help >> Elementary Functions > ndims

ndims

配列の次元の数

パラメータ

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)

参照

作者

S. Steer

<< modulo Elementary Functions norm >>