WOLFRAM SYSTEM MODELER
'size()'size() |
SystemModel["ModelicaReference.Operators.'size()'"]
This information is part of the Modelica Standard Library maintained by the Modelica Association.
Returns dimensions of an array
size(A,i) size(A)
The first form returns the size of dimension i of array expression A where i shall be > 0 and ≤ ndims(A).
The second form returns a vector of length ndims(A) containing the dimension sizes of A.
Real A[8,4,5]; Integer n3 = size(A,3); // = 5 Integer n[:] = size(A); // = {8,4,5}