You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TMtxVecInt Class > TMtxVecInt Methods > BitShift Method > TMtxVecInt.BitShift Method (int, int, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TMtxVecInt.BitShift Method (int, int, int)

Apply binary shift by number of Bits to the left (positive) or right (negative) to elements in the calling object.

Syntax
C#
Visual Basic
public TMtxVecInt BitShift(int Bits, int Index, int Len);

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.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!