Method ShiftLeft
- Namespace
- Zyl.VectorTraits.Impl
- Assembly
- VectorTraits.dll
ShiftLeft(Vector512<sbyte>, int)
Shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
Vector512<sbyte> ShiftLeft(Vector512<sbyte> value, int shiftAmount)
Parameters
value
Vector512<sbyte>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- Vector512<sbyte>
A vector whose elements where shifted left by
shiftAmount
(每个元素的左移shiftAmount
位的一个向量).
- See Also
ShiftLeft(Vector512<byte>, int)
Shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
Vector512<byte> ShiftLeft(Vector512<byte> value, int shiftAmount)
Parameters
value
Vector512<byte>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- Vector512<byte>
A vector whose elements where shifted left by
shiftAmount
(每个元素的左移shiftAmount
位的一个向量).
- See Also
ShiftLeft(Vector512<short>, int)
Shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
Vector512<short> ShiftLeft(Vector512<short> value, int shiftAmount)
Parameters
value
Vector512<short>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- Vector512<short>
A vector whose elements where shifted left by
shiftAmount
(每个元素的左移shiftAmount
位的一个向量).
- See Also
ShiftLeft(Vector512<ushort>, int)
Shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
Vector512<ushort> ShiftLeft(Vector512<ushort> value, int shiftAmount)
Parameters
value
Vector512<ushort>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- Vector512<ushort>
A vector whose elements where shifted left by
shiftAmount
(每个元素的左移shiftAmount
位的一个向量).
- See Also
ShiftLeft(Vector512<int>, int)
Shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
Vector512<int> ShiftLeft(Vector512<int> value, int shiftAmount)
Parameters
value
Vector512<int>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- Vector512<int>
A vector whose elements where shifted left by
shiftAmount
(每个元素的左移shiftAmount
位的一个向量).
- See Also
ShiftLeft(Vector512<uint>, int)
Shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
Vector512<uint> ShiftLeft(Vector512<uint> value, int shiftAmount)
Parameters
value
Vector512<uint>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- Vector512<uint>
A vector whose elements where shifted left by
shiftAmount
(每个元素的左移shiftAmount
位的一个向量).
- See Also
ShiftLeft(Vector512<long>, int)
Shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
Vector512<long> ShiftLeft(Vector512<long> value, int shiftAmount)
Parameters
value
Vector512<long>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- Vector512<long>
A vector whose elements where shifted left by
shiftAmount
(每个元素的左移shiftAmount
位的一个向量).
- See Also
ShiftLeft(Vector512<ulong>, int)
Shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
Vector512<ulong> ShiftLeft(Vector512<ulong> value, int shiftAmount)
Parameters
value
Vector512<ulong>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- Vector512<ulong>
A vector whose elements where shifted left by
shiftAmount
(每个元素的左移shiftAmount
位的一个向量).
- See Also