MatrixInt.BitShiftLeft Method

Overload List

#SignatureDescription
1TMtxVecInt BitShiftLeft(TMtxVecInt Src, Int32 Bits)Apply binary shift by number of Bits to the left to elements in Src.
└ indexed: TMtxVecInt BitShiftLeft(TMtxVecInt Src, Int32 Bits, Int32 SrcIndex, Int32 Index, Int32 Len)
2TMtxVecInt BitShiftLeft(Int32 Bits)Apply binary shift by number of Bits to the left for all elements in the calling object.
└ indexed: TMtxVecInt BitShiftLeft(Int32 Bits, Int32 Index, Int32 Len)

Overload 1: TMtxVecInt BitShiftLeft(TMtxVecInt Src, Int32 Bits)

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

#NameTypeDescription
1SrcTMtxVecIntsource TVecInt or TMtxInt
2BitsInt32

Result: stored in self (calling object), returns self for chaining

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

Indexed: TMtxVecInt BitShiftLeft(TMtxVecInt Src, Int32 Bits, Int32 SrcIndex, Int32 Index, Int32 Len)

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

#NameTypeDescription
1SrcTMtxVecIntsource TVecInt or TMtxInt
2BitsInt32
3SrcIndexInt32source start index
4IndexInt32start index
5LenInt32element count

Result: stored in self (calling object), returns self for chaining

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].

Overload 2: TMtxVecInt BitShiftLeft(Int32 Bits)

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

#NameTypeDescription
1BitsInt32

Result: stored in self (calling object), returns self for chaining

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.

Indexed: TMtxVecInt BitShiftLeft(Int32 Bits, Int32 Index, Int32 Len)

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

#NameTypeDescription
1BitsInt32
2IndexInt32start index
3LenInt32element count

Result: stored in self (calling object), returns self for chaining

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.