'min'

Return minimum element of complex vector

Information

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

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

Syntax

(result, index) = 'min'(v)

Inputs (1)

v

Type: Complex[:]

Description: Vector

Outputs (2)

result

Type: Complex

Description: Element of v with smallest absolute value

index

Type: Integer

Description: v[index] has the smallest absolute value