Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function Maxc: TCplx; | Maximum value. |
| └ indexed: function Maxc(Index: Integer; Len: Integer): TCplx; | ||
| 2 | function Maxc(out AMax: TCplx; Index: Integer; Len: Integer): Integer; | Calculate the maximum value of calling object complex elements [Index]..[Index+Len-1]. |
Overload 1: function Maxc: TCplx;
Maximum value.
Returns: TCplx (complex)
Returns the maximum value of all calling object complex elements. Complex elements are first compared by the amplitude and then by the argument. An exception is raised if calling object Vector.Complex is False.
Indexed: function Maxc(Index: Integer; Len: Integer): TCplx;
Returns the maximum value of calling object complex elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | Integer | start index |
| 2 | Len | Integer | element count |
Returns: TCplx (complex)
The result is a complex value. Complex elements are first compared by the amplitude and then by the argument. An exception is raised if calling object Vector.Complex property is False or array borders are overrud/underrun.
Overload 2: function Maxc(out AMax: TCplx; Index: Integer; Len: Integer): Integer;
Calculate the maximum value of calling object complex elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AMax | TCplx | |
| 2 | Index | Integer | start index |
| 3 | Len | Integer | element count |
Returns: Int32
The AMax parameter returns complex maximum value. Returns the Index of maximum value. Complex elements are first compared by the amplitude and then by the argument. The AIndex parameter returns the Index of maximum value. An exception is raised if calling object Vector.Complex property is False or array borders are overrud/underrun.