.ModelicaReference.Operators.'ndims()'

Information

Return number of array dimensions

Syntax

ndims(A)

Description

Returns the number of dimensions k of array expression A, with k >= 0.

Examples

Real A[8,4,5];
Integer n = ndims(A);  // = 3

Generated at 2019-07-23T01:37:06Z by OpenModelicaOpenModelica 1.14.0~dev-26621-ge80848f using GenerateDoc.mos