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
| Type | Name | Default | Description |
|---|---|---|---|
| Complex[:] | v | Vector |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Complex | result | Element of v with largest absolute value | |
| Integer | index | v[index] has the largest absolute value |