'scalar()'scalar() |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
Returns a one-element array as scalar
scalar(A)
Returns the single element of array A. size(A,i) = 1 is required for 1 ≤ i ≤ ndims(A).
Real A[1,1,1] = {{{3}}}; Real e = scalar(A); // = 3