MatrixInt::MaxMinIdx Method

Overload List

#SignatureDescription
1void MaxMinIdx(int &aMax, int &aMaxIdx, int &aMin, int &aMinIdx) const;Calculate minimum, maximum and their indices in one procedure call.
2void MaxMinIdx(int &aMax, int &aMaxIdx, int &aMin, int &aMinIdx, const int Index, const int Len) const;Calculate minimum, maximum and their indices in one procedure call.

Overload 1: void MaxMinIdx(int &aMax, int &aMaxIdx, int &aMin, int &aMinIdx) const;

Calculate minimum, maximum and their indices in one procedure call.

#NameTypeDescription
1aMaxint &Returns calling vector maximum value.
2aMaxIdxint &Returns calling vector maximum value index.
3aMinint &Returns calling vector monimum value.
4aMinIdxint &Returns calling vector minimum value index.
Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 2: void MaxMinIdx(int &aMax, int &aMaxIdx, int &aMin, int &aMinIdx, const int Index, const int Len) const;

Calculate minimum, maximum and their indices in one procedure call.

#NameTypeDescription
1aMaxint &Returns calling vector elements [Index..Index+Len-1] maximum value.
2aMaxIdxint &Returns calling vector maximum value index.
3aMinint &Returns calling vector elements [Index..Index+Len-1] minimum value.
4aMinIdxint &Returns calling vector minimum value index.
5Indexconst intThe starting index at which to start the search.
6Lenconst intThe number of elements to search starting from Index.
Remarks:

An exception is raised if array borders are overrun/underrun.

Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler