TAbstractMtxVecInt::Abs Method

Overload List

#SignatureDescription
1TMtxVecInt *Abs();Absolute values.
2TMtxVecInt *Abs(int Index, int Len);Absolute values of calling object elements [Index]..[Index+Len-1].
3TMtxVecInt *Abs(TMtxVecInt *Src);Absolute values of all Src vector elements.
4TMtxVecInt *Abs(TMtxVecInt *Src, int SrcIndex, int Index, int Len);Absolute values of Src vector elements [VecIndex]..[VecIndex+Len-1].

Overload 1: TMtxVecInt *Abs();

Absolute values.

Remarks:

Calculate the absolute value of all calling object elemets in-place.

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

Overload 2: TMtxVecInt *Abs(int Index, int Len);

Absolute values of calling object elements [Index]..[Index+Len-1].

#NameTypeDescription
1Indexint
2Lenint

Returns: calling vector elements [Index]..[Index+Len-1] ansolute vslues.

Remarks:

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

Note
Please note the calling vector elements [Index]..[Index+Len-1] are overwritten with result of routine call.

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

Overload 3: TMtxVecInt *Abs(TMtxVecInt *Src);

Absolute values of all Src vector elements.

#NameTypeDescription
1SrcTMtxVecInt *

Returns: Src vector elements ansolute vslues.

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

Overload 4: TMtxVecInt *Abs(TMtxVecInt *Src, int SrcIndex, int Index, int Len);

Absolute values of Src vector elements [VecIndex]..[VecIndex+Len-1].

#NameTypeDescription
1SrcTMtxVecInt *
2SrcIndexint
3Indexint
4Lenint

Returns: Src vector elements [VecIndex]..[VecIndex+Len-1] absolute values in calling vector elements [Index]..[Index+Len-1].

Remarks:

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

Note
Please note the calling vector elements [Index]..[Index+Len-1] are overwritten with result of routine call.

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