TVecByte::MinEvery Method

Overload List

#SignatureDescription
1TMtxVecInt *MinEvery(TMtxVecInt *Vec);Vectorised minimum.
2TMtxVecInt *MinEvery(TMtxVecInt *Vec, int VecIndex, int Index, int Len);Compare Vec elements [VecIndex]..[VecIndex+Len-1] with calling object elements [Index]..[Index+Len-1] and store result in Self.
3TMtxVecInt *MinEvery(TMtxVecInt *Vec1, TMtxVecInt *Vec2);Compare all Vec1 elements with corresponding Vec2 elements and store the smaller value in Self.
4TMtxVecInt *MinEvery(TMtxVecInt *Vec1, TMtxVecInt *Vec2, int Vec1Index, int Vec2Index, int Index, int Len);Compare Vec1 elements [Vec1Index]..[Vec1Index+Len-1] with Vec2 object elements [Vec2Index]..[Vec2Index+Len-1] and store the smaller value in Self.

Overload 1: TMtxVecInt *MinEvery(TMtxVecInt *Vec);

Vectorised minimum.

#NameTypeDescription
1VecTMtxVecInt *
Remarks:

Compares Vec values with corresponding elements in the calling object and stores the smaller value in Self. Size and TVecByte::IntPrecision property of the calling object are set automatically.

See Also: TVecByte::MinEvery
Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

Overload 2: TMtxVecInt *MinEvery(TMtxVecInt *Vec, int VecIndex, int Index, int Len);

Compare Vec elements [VecIndex]..[VecIndex+Len-1] with calling object elements [Index]..[Index+Len-1] and store result in Self.

#NameTypeDescription
1VecTMtxVecInt *
2VecIndexint
3Indexint
4Lenint
Remarks:

An exception is raised, if Vec and calling object TVecByte::IntPrecision property do not match or if array borders are overrun/underrun.

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

Overload 3: TMtxVecInt *MinEvery(TMtxVecInt *Vec1, TMtxVecInt *Vec2);

Compare all Vec1 elements with corresponding Vec2 elements and store the smaller value in Self.

#NameTypeDescription
1Vec1TMtxVecInt *
2Vec2TMtxVecInt *
Remarks:

Stores the results in to the calling object. Size and TMtxVec::Complex property of calling object are adjusted automatically to match those of Vec1 and Vec2. An exception is raised if Vec1 and Vec2 size and TVecByte::IntPrecision property do not match.

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

Overload 4: TMtxVecInt *MinEvery(TMtxVecInt *Vec1, TMtxVecInt *Vec2, int Vec1Index, int Vec2Index, int Index, int Len);

Compare Vec1 elements [Vec1Index]..[Vec1Index+Len-1] with Vec2 object elements [Vec2Index]..[Vec2Index+Len-1] and store the smaller value in Self.

#NameTypeDescription
1Vec1TMtxVecInt *
2Vec2TMtxVecInt *
3Vec1Indexint
4Vec2Indexint
5Indexint
6Lenint
Remarks:

Stores the results in to the calling object elements [Index]..[Index+Len-1]. Size and TVecByte::IntPrecision properties of the calling object must be set explicitly. An exception is raised if TVecByte::ConditionCheck is True and array borders are overrun or underrun.

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler