Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - Русский

Please note that the recommended version of Scilab is 6.0.1. This page might be outdated.
See the recommended documentation of this function

Scilabヘルプ >> 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)

参照

  • size — オブジェクトの大きさ
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Feb 14 15:10:28 CET 2017