TMtx.Maxc Method

Overload List

#SignatureDescription
1TCplx MaxcMaximum value.
└ indexed: TCplx Maxc(Int32 Index, Int32 Len)
2Int32 Maxc(ref TCplx AMax, Int32 Index, Int32 Len)Calculate the maximum value of calling object complex elements [Index]..[Index+Len-1].

Overload 1: TCplx Maxc

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 Dew.Math.TMtxVec.Complex is False.

Indexed: TCplx Maxc(Int32 Index, Int32 Len)

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

#NameTypeDescription
1IndexInt32start index
2LenInt32element 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 Dew.Math.TMtxVec.Complex property is False or array borders are overrud/underrun.

Overload 2: Int32 Maxc(ref TCplx AMax, Int32 Index, Int32 Len)

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

#NameTypeDescription
1AMaxTCplx (ref)output
2IndexInt32start index
3LenInt32element 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 Dew.Math.TMtxVec.Complex property is False or array borders are overrud/underrun.