Method ShiftLeft_Multiply
- Namespace
- Zyl.VectorTraits.Impl.AVector
- Assembly
- VectorTraits.dll
ShiftLeft_Multiply(Vector<sbyte>, int)
Shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[CLSCompliant(false)]
public static Vector<sbyte> ShiftLeft_Multiply(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 (每个元素的移位位数).
Returns
- Vector<sbyte>
A vector whose elements where shifted left by
shiftAmount
(每个元素的左移shiftAmount
位的一个向量).
- See Also
ShiftLeft_Multiply(Vector<byte>, int)
Shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
public static Vector<byte> ShiftLeft_Multiply(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 (每个元素的移位位数).
Returns
- Vector<byte>
A vector whose elements where shifted left by
shiftAmount
(每个元素的左移shiftAmount
位的一个向量).
- See Also
ShiftLeft_Multiply(Vector<short>, int)
Shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
public static Vector<short> ShiftLeft_Multiply(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 (每个元素的移位位数).
Returns
- Vector<short>
A vector whose elements where shifted left by
shiftAmount
(每个元素的左移shiftAmount
位的一个向量).
- See Also
ShiftLeft_Multiply(Vector<ushort>, int)
Shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[CLSCompliant(false)]
public static Vector<ushort> ShiftLeft_Multiply(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 (每个元素的移位位数).
Returns
- Vector<ushort>
A vector whose elements where shifted left by
shiftAmount
(每个元素的左移shiftAmount
位的一个向量).
- See Also
ShiftLeft_Multiply(Vector<int>, int)
Shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
public static Vector<int> ShiftLeft_Multiply(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 (每个元素的移位位数).
Returns
- See Also
ShiftLeft_Multiply(Vector<uint>, int)
Shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[CLSCompliant(false)]
public static Vector<uint> ShiftLeft_Multiply(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 (每个元素的移位位数).
Returns
- Vector<uint>
A vector whose elements where shifted left by
shiftAmount
(每个元素的左移shiftAmount
位的一个向量).
- See Also