Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2023.0.0 - 日本語


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 — オブジェクトの大きさ
Report an issue
<< modulo Elementary Functions |, || >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Mar 07 09:28:43 CET 2023