clVector.Maxc Method

Overload List

#SignatureDescription
1function Maxc: TCplx;Maximum value.
└ indexed: function Maxc(Index: Integer; Len: Integer): TCplx;
2function 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) - the maximum value of all calling object complex elements. Complex elements are first compared by the amplitude and then by the argument.

Remarks:

An exception is raised if calling object clVector.Complex is .

See Also: clVector.Max

Indexed: function Maxc(Index: Integer; Len: Integer): TCplx;

Returns the maximum value of calling object complex elements [Index]..[Index+Len-1].

#NameTypeDescription
1IndexIntegerstart index
2LenIntegerelement count

Returns: TCplx (complex)

Remarks:

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 clVector.Complex property is 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].

#NameTypeDescription
1AMaxTCplx
2IndexIntegerstart index
3LenIntegerelement count

Returns: Int32

Remarks:

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 clVector.Complex property is or array borders are overrud/underrun.