Matrix::Maxc Method

Overload List

#SignatureDescription
1TCplx Maxc() const;Maximum value.
2TCplx Maxc(int Index, int Len) const;Returns the maximum value of calling object complex elements [Index]..[Index+Len-1]. The result is a complex value.
3int Maxc(TCplx &AMax, int Index, int Len) const;Calculate the maximum value of calling object complex elements [Index]..[Index+Len-1].

Overload 1: TCplx Maxc() const;

Maximum value.

Remarks:

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 Matrix::Complex is False.

See Also: Matrix::Max
Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler

Overload 2: TCplx Maxc(int Index, int Len) const;

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

#NameTypeDescription
1Indexint
2Lenint
Remarks:

Complex elements are first compared by the amplitude and then by the argument. An exception is raised if calling object Matrix::Complex property is False or array borders are overrud/underrun.

Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler

Overload 3: int Maxc(TCplx &AMax, int Index, int Len) const;

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

#NameTypeDescription
1AMaxTCplx &
2Indexint
3Lenint
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 Matrix::Complex property is False or array borders are overrud/underrun.

Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler