VectorInt::Abs Method

Overload List

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

Overload 1: TMtxVecInt *Abs() const;

Absolute values.

Remarks:

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

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

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

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

#NameTypeDescription
1Indexconst int
2Lenconst int

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::VectorInt · Dew.Math/MtxExprInt.h · Cross-compiler

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

Absolute values of all Src vector elements.

#NameTypeDescription
1SrcTMtxVecInt *

Returns: Src vector elements ansolute vslues.

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

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

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

#NameTypeDescription
1SrcTMtxVecInt *
2SrcIndexconst int
3Indexconst int
4Lenconst int

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::VectorInt · Dew.Math/MtxExprInt.h · Cross-compiler