## 'min()'min() |

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Returns the smallest element

min(A)min(x,y)min(e(i, ..., j)foriinu, ..., jinv)

The first form returns the smallest element of array expression A.

The second form returns the smallest element of the scalars x and y.

The third form is a reduction expression and returns the smallest value of the scalar expression e(i, ..., j) evaluated for all combinations of i in u, ..., j in v

min(i^2foriin{3,7,6}) // = 9