Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVecInt *BitShift(int Bits); | Apply binary shift by number of Bits to the left (positive) or right (negative) for all elements in the calling object. |
| 2 | TMtxVecInt *BitShift(int Bits, int Index, int Len); | Apply binary shift by number of Bits to the left (positive) or right (negative) to elements in the calling object. |
| 3 | TMtxVecInt *BitShift(TMtxVecInt *Src, int Bits, int SrcIndex, int Index, int Len); | Apply binary shift by number of Bits to the left (positive) or right (negative) to elements in Src. |
| 4 | TMtxVecInt *BitShift(TMtxVecInt *Src, int Bits); | Apply binary shift by number of Bits to the left (positive) or right (negative) to elements in Src. |
Overload 1: TMtxVecInt *BitShift(int Bits);
Apply binary shift by number of Bits to the left (positive) or right (negative) for all elements in the calling object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Bits | int |
Returns: the result of binary shift to the left or right by number of Bits applied to values in the calling object and stored back in the calling object. The shift preserves the sign of the numbers.
Overload 2: TMtxVecInt *BitShift(int Bits, int Index, int Len);
Apply binary shift by number of Bits to the left (positive) or right (negative) to elements in the calling object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Bits | int | |
| 2 | Index | int | |
| 3 | Len | int |
Returns: the result of binary shift to the left or right by number of Bits applied to values [Index]..[Index+Len-1] in the calling object and stored back in the calling object. The sign of the numbers is preserved when doing right shift.
Overload 3: TMtxVecInt *BitShift(TMtxVecInt *Src, int Bits, int SrcIndex, int Index, int Len);
Apply binary shift by number of Bits to the left (positive) or right (negative) to elements in Src.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt * | |
| 2 | Bits | int | |
| 3 | SrcIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
Returns: the result of binary shift to the left or right by number of Bits applied to Src values [SrcIndex]..[SrcIndex+Len-1] and stored in the calling object (Self) value [Index]..[Index+Len-1]. The sign of the numbers is preserved when doing right shift.
Overload 4: TMtxVecInt *BitShift(TMtxVecInt *Src, int Bits);
Apply binary shift by number of Bits to the left (positive) or right (negative) to elements in Src.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt * | |
| 2 | Bits | int |
Returns: the result of binary shift to the left or right by number of Bits applied to Src values and stored in the calling object (Self). The sign of the numbers is preserved when doing right shift.