Method ShiftLeft_Args
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
ShiftLeft_Args<T>(Vector256<T>, int)
Arguments calculation for shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量的参数计算). Provide arguments for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[Obsolete("It is only suitable for unit testing because it contains branching statements and has poor performance. In general, it is recommended to use the non-generic version of the methods (因它含有分支语句, 性能较差, 仅适用于单元测试. 一般情况下, 建议使用非泛型版方法).")]
public static (Vector256<T> args0, Vector256<T> args1) ShiftLeft_Args<T>(Vector256<T> dummy, int shiftAmount) where T : struct
Parameters
dummy
Vector256<T>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- (Vector256<T> args0, Vector256<T> args1)
The arguments provided for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).
Type Parameters
T
The element type of the input parameter (输入参数的元素类型).
- See Also
ShiftLeft_Args(Vector256<sbyte>, int)
Arguments calculation for shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量的参数计算). Provide arguments for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[CLSCompliant(false)]
public static (Vector256<sbyte> args0, Vector256<sbyte> args1) ShiftLeft_Args(Vector256<sbyte> dummy, int shiftAmount)
Parameters
dummy
Vector256<sbyte>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- (Vector256<sbyte> args0, Vector256<sbyte> args1)
The arguments provided for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).
- See Also
ShiftLeft_Args(Vector256<byte>, int)
Arguments calculation for shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量的参数计算). Provide arguments for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
public static (Vector256<byte> args0, Vector256<byte> args1) ShiftLeft_Args(Vector256<byte> dummy, int shiftAmount)
Parameters
dummy
Vector256<byte>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- (Vector256<byte> args0, Vector256<byte> args1)
The arguments provided for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).
- See Also
ShiftLeft_Args(Vector256<short>, int)
Arguments calculation for shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量的参数计算). Provide arguments for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
public static (Vector256<short> args0, Vector256<short> args1) ShiftLeft_Args(Vector256<short> dummy, int shiftAmount)
Parameters
dummy
Vector256<short>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- (Vector256<short> Lower, Vector256<short> Upper)
The arguments provided for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).
- See Also
ShiftLeft_Args(Vector256<ushort>, int)
Arguments calculation for shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量的参数计算). Provide arguments for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[CLSCompliant(false)]
public static (Vector256<ushort> args0, Vector256<ushort> args1) ShiftLeft_Args(Vector256<ushort> dummy, int shiftAmount)
Parameters
dummy
Vector256<ushort>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- (Vector256<ushort> Lower, Vector256<ushort> Upper)
The arguments provided for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).
- See Also
ShiftLeft_Args(Vector256<int>, int)
Arguments calculation for shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量的参数计算). Provide arguments for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
public static (Vector256<int> args0, Vector256<int> args1) ShiftLeft_Args(Vector256<int> dummy, int shiftAmount)
Parameters
dummy
Vector256<int>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- (Vector256<int> Lower, Vector256<int> Upper)
The arguments provided for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).
- See Also
ShiftLeft_Args(Vector256<uint>, int)
Arguments calculation for shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量的参数计算). Provide arguments for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[CLSCompliant(false)]
public static (Vector256<uint> args0, Vector256<uint> args1) ShiftLeft_Args(Vector256<uint> dummy, int shiftAmount)
Parameters
dummy
Vector256<uint>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- (Vector256<uint> Lower, Vector256<uint> Upper)
The arguments provided for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).
- See Also
ShiftLeft_Args(Vector256<long>, int)
Arguments calculation for shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量的参数计算). Provide arguments for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
public static (Vector256<long> args0, Vector256<long> args1) ShiftLeft_Args(Vector256<long> dummy, int shiftAmount)
Parameters
dummy
Vector256<long>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- (Vector256<long> Lower, Vector256<long> Upper)
The arguments provided for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).
- See Also
ShiftLeft_Args(Vector256<ulong>, int)
Arguments calculation for shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量的参数计算). Provide arguments for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[CLSCompliant(false)]
public static (Vector256<ulong> args0, Vector256<ulong> args1) ShiftLeft_Args(Vector256<ulong> dummy, int shiftAmount)
Parameters
dummy
Vector256<ulong>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- (Vector256<ulong> Lower, Vector256<ulong> Upper)
The arguments provided for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).
- See Also
ShiftLeft_Args(Vector256<sbyte>, int, out Vector256<sbyte>)
Arguments calculation for shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量的参数计算). Provide arguments for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[CLSCompliant(false)]
public static Vector256<sbyte> ShiftLeft_Args(Vector256<sbyte> dummy, int shiftAmount, out Vector256<sbyte> args1)
Parameters
dummy
Vector256<sbyte>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
args1
Vector256<sbyte>Returns arguments 1 (返回参数1). Used for ShiftLeft_Core .
Returns
- See Also
ShiftLeft_Args(Vector256<byte>, int, out Vector256<byte>)
Arguments calculation for shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量的参数计算). Provide arguments for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
public static Vector256<byte> ShiftLeft_Args(Vector256<byte> dummy, int shiftAmount, out Vector256<byte> args1)
Parameters
dummy
Vector256<byte>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
args1
Vector256<byte>Returns arguments 1 (返回参数1). Used for ShiftLeft_Core .
Returns
- See Also
ShiftLeft_Args(Vector256<short>, int, out Vector256<short>)
Arguments calculation for shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量的参数计算). Provide arguments for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
public static Vector256<short> ShiftLeft_Args(Vector256<short> dummy, int shiftAmount, out Vector256<short> args1)
Parameters
dummy
Vector256<short>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
args1
Vector256<short>Returns arguments 1 (返回参数1). Used for ShiftLeft_Core .
Returns
- See Also
ShiftLeft_Args(Vector256<ushort>, int, out Vector256<ushort>)
Arguments calculation for shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量的参数计算). Provide arguments for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[CLSCompliant(false)]
public static Vector256<ushort> ShiftLeft_Args(Vector256<ushort> dummy, int shiftAmount, out Vector256<ushort> args1)
Parameters
dummy
Vector256<ushort>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
args1
Vector256<ushort>Returns arguments 1 (返回参数1). Used for ShiftLeft_Core .
Returns
- See Also
ShiftLeft_Args(Vector256<int>, int, out Vector256<int>)
Arguments calculation for shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量的参数计算). Provide arguments for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
public static Vector256<int> ShiftLeft_Args(Vector256<int> dummy, int shiftAmount, out Vector256<int> args1)
Parameters
dummy
Vector256<int>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
args1
Vector256<int>Returns arguments 1 (返回参数1). Used for ShiftLeft_Core .
Returns
- See Also
ShiftLeft_Args(Vector256<uint>, int, out Vector256<uint>)
Arguments calculation for shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量的参数计算). Provide arguments for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[CLSCompliant(false)]
public static Vector256<uint> ShiftLeft_Args(Vector256<uint> dummy, int shiftAmount, out Vector256<uint> args1)
Parameters
dummy
Vector256<uint>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
args1
Vector256<uint>Returns arguments 1 (返回参数1). Used for ShiftLeft_Core .
Returns
- See Also
ShiftLeft_Args(Vector256<long>, int, out Vector256<long>)
Arguments calculation for shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量的参数计算). Provide arguments for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
public static Vector256<long> ShiftLeft_Args(Vector256<long> dummy, int shiftAmount, out Vector256<long> args1)
Parameters
dummy
Vector256<long>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
args1
Vector256<long>Returns arguments 1 (返回参数1). Used for ShiftLeft_Core .
Returns
- See Also
ShiftLeft_Args(Vector256<ulong>, int, out Vector256<ulong>)
Arguments calculation for shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量的参数计算). Provide arguments for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).
Mnemonic: rt[i] := value[i] << shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[CLSCompliant(false)]
public static Vector256<ulong> ShiftLeft_Args(Vector256<ulong> dummy, int shiftAmount, out Vector256<ulong> args1)
Parameters
dummy
Vector256<ulong>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
args1
Vector256<ulong>Returns arguments 1 (返回参数1). Used for ShiftLeft_Core .
Returns
- See Also