Method ShiftLeft_Fast
- Namespace
- Zyl.VectorTraits.Impl.AVector
- Assembly
- VectorTraits.dll
ShiftLeft_Fast(Vector<sbyte>, int)
Shifts each element of a vector left by the specified amount - Fast (将向量的每个元素左移指定量 - 快速). No check shiftAmount
, please use LimitShiftAmount<T>(int) first.
Mnemonic: rt[i] := value[i] << shiftAmount
.
[CLSCompliant(false)]
public virtual Vector<sbyte> ShiftLeft_Fast(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 0~7 (有效范围是 0~7).
Returns
- Vector<sbyte>
A vector whose elements where shifted left by
shiftAmount
(每个元素的左移shiftAmount
位的一个向量).
- See Also
ShiftLeft_Fast(Vector<byte>, int)
Shifts each element of a vector left by the specified amount - Fast (将向量的每个元素左移指定量 - 快速). No check shiftAmount
, please use LimitShiftAmount<T>(int) first.
Mnemonic: rt[i] := value[i] << shiftAmount
.
public virtual Vector<byte> ShiftLeft_Fast(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 0~7 (有效范围是 0~7).
Returns
- Vector<byte>
A vector whose elements where shifted left by
shiftAmount
(每个元素的左移shiftAmount
位的一个向量).
- See Also
ShiftLeft_Fast(Vector<short>, int)
Shifts each element of a vector left by the specified amount - Fast (将向量的每个元素左移指定量 - 快速). No check shiftAmount
, please use LimitShiftAmount<T>(int) first.
Mnemonic: rt[i] := value[i] << shiftAmount
.
public virtual Vector<short> ShiftLeft_Fast(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 0~15 (有效范围是 0~15).
Returns
- Vector<short>
A vector whose elements where shifted left by
shiftAmount
(每个元素的左移shiftAmount
位的一个向量).
- See Also
ShiftLeft_Fast(Vector<ushort>, int)
Shifts each element of a vector left by the specified amount - Fast (将向量的每个元素左移指定量 - 快速). No check shiftAmount
, please use LimitShiftAmount<T>(int) first.
Mnemonic: rt[i] := value[i] << shiftAmount
.
[CLSCompliant(false)]
public virtual Vector<ushort> ShiftLeft_Fast(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 0~15 (有效范围是 0~15).
Returns
- Vector<ushort>
A vector whose elements where shifted left by
shiftAmount
(每个元素的左移shiftAmount
位的一个向量).
- See Also
ShiftLeft_Fast(Vector<int>, int)
Shifts each element of a vector left by the specified amount - Fast (将向量的每个元素左移指定量 - 快速). No check shiftAmount
, please use LimitShiftAmount<T>(int) first.
Mnemonic: rt[i] := value[i] << shiftAmount
.
public virtual Vector<int> ShiftLeft_Fast(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 0~31 (有效范围是 0~31).
Returns
- See Also
ShiftLeft_Fast(Vector<uint>, int)
Shifts each element of a vector left by the specified amount - Fast (将向量的每个元素左移指定量 - 快速). No check shiftAmount
, please use LimitShiftAmount<T>(int) first.
Mnemonic: rt[i] := value[i] << shiftAmount
.
[CLSCompliant(false)]
public virtual Vector<uint> ShiftLeft_Fast(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 0~31 (有效范围是 0~31).
Returns
- Vector<uint>
A vector whose elements where shifted left by
shiftAmount
(每个元素的左移shiftAmount
位的一个向量).
- See Also
ShiftLeft_Fast(Vector<long>, int)
Shifts each element of a vector left by the specified amount - Fast (将向量的每个元素左移指定量 - 快速). No check shiftAmount
, please use LimitShiftAmount<T>(int) first.
Mnemonic: rt[i] := value[i] << shiftAmount
.
public virtual Vector<long> ShiftLeft_Fast(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 0~63 (有效范围是 0~63).
Returns
- Vector<long>
A vector whose elements where shifted left by
shiftAmount
(每个元素的左移shiftAmount
位的一个向量).
- See Also
ShiftLeft_Fast(Vector<ulong>, int)
Shifts each element of a vector left by the specified amount - Fast (将向量的每个元素左移指定量 - 快速). No check shiftAmount
, please use LimitShiftAmount<T>(int) first.
Mnemonic: rt[i] := value[i] << shiftAmount
.
[CLSCompliant(false)]
public virtual Vector<ulong> ShiftLeft_Fast(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 0~63 (有效范围是 0~63).
Returns
- Vector<ulong>
A vector whose elements where shifted left by
shiftAmount
(每个元素的左移shiftAmount
位的一个向量).
- See Also