Method ShiftRightLogical_Const
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
ShiftRightLogical_Const(Vector<sbyte>, int)
Shifts (unsigned) each element of a vector right by the specified amount - Const (将向量的每个无符号元素逻辑右移指定量 - 常量).
Mnemonic: rt[i] := value[i] >>> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[CLSCompliant(false)]
public static Vector<sbyte> ShiftRightLogical_Const(Vector<sbyte> value, int shiftAmount)
Parameters
value
Vector<sbyte>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数). The valid range is 1~7 (有效范围是 1~7).
Returns
- Vector<sbyte>
A vector whose elements where shifted right by
shiftAmount
(每个元素的右移shiftAmount
位的一个向量).
- See Also
ShiftRightLogical_Const(Vector<byte>, int)
Shifts (unsigned) each element of a vector right by the specified amount - Const (将向量的每个无符号元素逻辑右移指定量 - 常量).
Mnemonic: rt[i] := value[i] >>> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
public static Vector<byte> ShiftRightLogical_Const(Vector<byte> value, int shiftAmount)
Parameters
value
Vector<byte>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数). The valid range is 1~7 (有效范围是 1~7).
Returns
- Vector<byte>
A vector whose elements where shifted right by
shiftAmount
(每个元素的右移shiftAmount
位的一个向量).
- See Also
ShiftRightLogical_Const(Vector<short>, int)
Shifts (unsigned) each element of a vector right by the specified amount - Const (将向量的每个无符号元素逻辑右移指定量 - 常量).
Mnemonic: rt[i] := value[i] >>> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
public static Vector<short> ShiftRightLogical_Const(Vector<short> value, int shiftAmount)
Parameters
value
Vector<short>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数). The valid range is 1~15 (有效范围是 1~15).
Returns
- Vector<short>
A vector whose elements where shifted right by
shiftAmount
(每个元素的右移shiftAmount
位的一个向量).
- See Also
ShiftRightLogical_Const(Vector<ushort>, int)
Shifts (unsigned) each element of a vector right by the specified amount - Const (将向量的每个无符号元素逻辑右移指定量 - 常量).
Mnemonic: rt[i] := value[i] >>> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[CLSCompliant(false)]
public static Vector<ushort> ShiftRightLogical_Const(Vector<ushort> value, int shiftAmount)
Parameters
value
Vector<ushort>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数). The valid range is 1~15 (有效范围是 1~15).
Returns
- Vector<ushort>
A vector whose elements where shifted right by
shiftAmount
(每个元素的右移shiftAmount
位的一个向量).
- See Also
ShiftRightLogical_Const(Vector<int>, int)
Shifts (unsigned) each element of a vector right by the specified amount - Const (将向量的每个无符号元素逻辑右移指定量 - 常量).
Mnemonic: rt[i] := value[i] >>> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
public static Vector<int> ShiftRightLogical_Const(Vector<int> value, int shiftAmount)
Parameters
value
Vector<int>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数). The valid range is 1~31 (有效范围是 1~31).
Returns
- Vector<int>
A vector whose elements where shifted right by
shiftAmount
(每个元素的右移shiftAmount
位的一个向量).
- See Also
ShiftRightLogical_Const(Vector<uint>, int)
Shifts (unsigned) each element of a vector right by the specified amount - Const (将向量的每个无符号元素逻辑右移指定量 - 常量).
Mnemonic: rt[i] := value[i] >>> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[CLSCompliant(false)]
public static Vector<uint> ShiftRightLogical_Const(Vector<uint> value, int shiftAmount)
Parameters
value
Vector<uint>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数). The valid range is 1~31 (有效范围是 1~31).
Returns
- Vector<uint>
A vector whose elements where shifted right by
shiftAmount
(每个元素的右移shiftAmount
位的一个向量).
- See Also
ShiftRightLogical_Const(Vector<long>, int)
Shifts (unsigned) each element of a vector right by the specified amount - Const (将向量的每个无符号元素逻辑右移指定量 - 常量).
Mnemonic: rt[i] := value[i] >>> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
public static Vector<long> ShiftRightLogical_Const(Vector<long> value, int shiftAmount)
Parameters
value
Vector<long>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数). The valid range is 1~63 (有效范围是 1~63).
Returns
- Vector<long>
A vector whose elements where shifted right by
shiftAmount
(每个元素的右移shiftAmount
位的一个向量).
- See Also
ShiftRightLogical_Const(Vector<ulong>, int)
Shifts (unsigned) each element of a vector right by the specified amount - Const (将向量的每个无符号元素逻辑右移指定量 - 常量).
Mnemonic: rt[i] := value[i] >>> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[CLSCompliant(false)]
public static Vector<ulong> ShiftRightLogical_Const(Vector<ulong> value, int shiftAmount)
Parameters
value
Vector<ulong>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数). The valid range is 1~63 (有效范围是 1~63).
Returns
- Vector<ulong>
A vector whose elements where shifted right by
shiftAmount
(每个元素的右移shiftAmount
位的一个向量).
- See Also