functionmax

Return maximum element of complex vector

Extends from Modelica.Icons.Function (Icon for functions).

Information

This function returns the largest element of the Complex input vector, defined by the Complex absolute.

Inputs

TypeNameDefaultDescription
Complex[:]vVector

Outputs

TypeNameDefaultDescription
ComplexresultElement of v with largest absolute value
Integerindexv[index] has the largest absolute value