VectorInt::BitShiftLeft Method

Overload List

#SignatureDescription
1TMtxVecInt *BitShiftLeft(const int Bits) const;Apply binary shift by number of Bits to the left for all elements in the calling object.
2TMtxVecInt *BitShiftLeft(const int Bits, const int Index, const int Len) const;Apply binary shift by number of Bits to the left to elements in the calling object.
3TMtxVecInt *BitShiftLeft(TMtxVecInt *Src, const int Bits, const int SrcIndex, const int Index, const int Len) const;Apply binary shift by number of Bits to the left to elements in Src.
4TMtxVecInt *BitShiftLeft(TMtxVecInt *Src, const int Bits) const;Apply binary shift by number of Bits to the left to elements in Src.

Overload 1: TMtxVecInt *BitShiftLeft(const int Bits) const;

Apply binary shift by number of Bits to the left for all elements in the calling object.

#NameTypeDescription
1Bitsconst int

Returns: the result of binary shift to left by number of Bits applied to values in the calling object and stored back in the calling object.

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

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

Apply binary shift by number of Bits to the left to elements in the calling object.

#NameTypeDescription
1Bitsconst int
2Indexconst int
3Lenconst int

Returns: the result of binary shift to left by number of Bits applied to values [Index]..[Index+Len-1] in the calling object and stored back in the calling object.

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

Overload 3: TMtxVecInt *BitShiftLeft(TMtxVecInt *Src, const int Bits, const int SrcIndex, const int Index, const int Len) const;

Apply binary shift by number of Bits to the left to elements in Src.

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

Returns: the result of binary shift to left by number of Bits applied to Src values [SrcIndex]..[SrcIndex+Len-1] and stored in the calling object (Self) value [Index]..[Index+Len-1].

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

Overload 4: TMtxVecInt *BitShiftLeft(TMtxVecInt *Src, const int Bits) const;

Apply binary shift by number of Bits to the left to elements in Src.

#NameTypeDescription
1SrcTMtxVecInt *
2Bitsconst int

Returns: the result of binary shift to left by number of Bits applied to Src values and stored in the calling object (Self).

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