Method ShiftRightLogical_Args
- Namespace
- Zyl.VectorTraits.Impl
- Assembly
- VectorTraits.dll
ShiftRightLogical_Args<T>(IVectorTraits, Vector<T>, int)
Arguments calculation for shifts (unsigned) each element of a vector right by the specified amount. (将向量的每个无符号元素逻辑右移指定量的参数计算). Provide arguments for ShiftRightLogical_Core (为 ShiftRightLogical_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 (因它含有分支语句, 性能较差, 仅适用于单元测试. 一般情况下, 建议使用非泛型版方法).")]
[CLSCompliant(false)]
public static (Vector<T> args0, Vector<T> args1) ShiftRightLogical_Args<T>(this IVectorTraits athis, Vector<T> dummy, int shiftAmount) where T : struct
Parameters
athis
IVectorTraitsdummy
Vector<T>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- (Vector<T> args0, Vector<T> args1)
The arguments provided for ShiftRightLogical_Core (为 ShiftRightLogical_Core 提供参数).
Type Parameters
T
The element type of the input parameter (输入参数的元素类型).
- See Also
ShiftRightLogical_Args(IVectorTraits, Vector<sbyte>, int)
Arguments calculation for shifts (unsigned) each element of a vector right by the specified amount. (将向量的每个无符号元素逻辑右移指定量的参数计算). Provide arguments for ShiftRightLogical_Core (为 ShiftRightLogical_Core 提供参数).
Mnemonic: rt[i] := value[i] >>> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[CLSCompliant(false)]
public static (Vector<sbyte> args0, Vector<sbyte> args1) ShiftRightLogical_Args(this IVectorTraits athis, Vector<sbyte> dummy, int shiftAmount)
Parameters
athis
IVectorTraitsdummy
Vector<sbyte>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- (Vector<sbyte> args0, Vector<sbyte> args1)
The arguments provided for ShiftRightLogical_Core (为 ShiftRightLogical_Core 提供参数).
- See Also
ShiftRightLogical_Args(IVectorTraits, Vector<byte>, int)
Arguments calculation for shifts (unsigned) each element of a vector right by the specified amount. (将向量的每个无符号元素逻辑右移指定量的参数计算). Provide arguments for ShiftRightLogical_Core (为 ShiftRightLogical_Core 提供参数).
Mnemonic: rt[i] := value[i] >>> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[CLSCompliant(false)]
public static (Vector<byte> args0, Vector<byte> args1) ShiftRightLogical_Args(this IVectorTraits athis, Vector<byte> dummy, int shiftAmount)
Parameters
athis
IVectorTraitsdummy
Vector<byte>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- (Vector<byte> args0, Vector<byte> args1)
The arguments provided for ShiftRightLogical_Core (为 ShiftRightLogical_Core 提供参数).
- See Also
ShiftRightLogical_Args(IVectorTraits, Vector<short>, int)
Arguments calculation for shifts (unsigned) each element of a vector right by the specified amount. (将向量的每个无符号元素逻辑右移指定量的参数计算). Provide arguments for ShiftRightLogical_Core (为 ShiftRightLogical_Core 提供参数).
Mnemonic: rt[i] := value[i] >>> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[CLSCompliant(false)]
public static (Vector<short> args0, Vector<short> args1) ShiftRightLogical_Args(this IVectorTraits athis, Vector<short> dummy, int shiftAmount)
Parameters
athis
IVectorTraitsdummy
Vector<short>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- (Vector<short> Lower, Vector<short> Upper)
The arguments provided for ShiftRightLogical_Core (为 ShiftRightLogical_Core 提供参数).
- See Also
ShiftRightLogical_Args(IVectorTraits, Vector<ushort>, int)
Arguments calculation for shifts (unsigned) each element of a vector right by the specified amount. (将向量的每个无符号元素逻辑右移指定量的参数计算). Provide arguments for ShiftRightLogical_Core (为 ShiftRightLogical_Core 提供参数).
Mnemonic: rt[i] := value[i] >>> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[CLSCompliant(false)]
public static (Vector<ushort> args0, Vector<ushort> args1) ShiftRightLogical_Args(this IVectorTraits athis, Vector<ushort> dummy, int shiftAmount)
Parameters
athis
IVectorTraitsdummy
Vector<ushort>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- (Vector<ushort> Lower, Vector<ushort> Upper)
The arguments provided for ShiftRightLogical_Core (为 ShiftRightLogical_Core 提供参数).
- See Also
ShiftRightLogical_Args(IVectorTraits, Vector<int>, int)
Arguments calculation for shifts (unsigned) each element of a vector right by the specified amount. (将向量的每个无符号元素逻辑右移指定量的参数计算). Provide arguments for ShiftRightLogical_Core (为 ShiftRightLogical_Core 提供参数).
Mnemonic: rt[i] := value[i] >>> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[CLSCompliant(false)]
public static (Vector<int> args0, Vector<int> args1) ShiftRightLogical_Args(this IVectorTraits athis, Vector<int> dummy, int shiftAmount)
Parameters
athis
IVectorTraitsdummy
Vector<int>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- (Vector<int> Lower, Vector<int> Upper)
The arguments provided for ShiftRightLogical_Core (为 ShiftRightLogical_Core 提供参数).
- See Also
ShiftRightLogical_Args(IVectorTraits, Vector<uint>, int)
Arguments calculation for shifts (unsigned) each element of a vector right by the specified amount. (将向量的每个无符号元素逻辑右移指定量的参数计算). Provide arguments for ShiftRightLogical_Core (为 ShiftRightLogical_Core 提供参数).
Mnemonic: rt[i] := value[i] >>> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[CLSCompliant(false)]
public static (Vector<uint> args0, Vector<uint> args1) ShiftRightLogical_Args(this IVectorTraits athis, Vector<uint> dummy, int shiftAmount)
Parameters
athis
IVectorTraitsdummy
Vector<uint>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- (Vector<uint> Lower, Vector<uint> Upper)
The arguments provided for ShiftRightLogical_Core (为 ShiftRightLogical_Core 提供参数).
- See Also
ShiftRightLogical_Args(IVectorTraits, Vector<long>, int)
Arguments calculation for shifts (unsigned) each element of a vector right by the specified amount. (将向量的每个无符号元素逻辑右移指定量的参数计算). Provide arguments for ShiftRightLogical_Core (为 ShiftRightLogical_Core 提供参数).
Mnemonic: rt[i] := value[i] >>> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[CLSCompliant(false)]
public static (Vector<long> args0, Vector<long> args1) ShiftRightLogical_Args(this IVectorTraits athis, Vector<long> dummy, int shiftAmount)
Parameters
athis
IVectorTraitsdummy
Vector<long>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- (Vector<long> Lower, Vector<long> Upper)
The arguments provided for ShiftRightLogical_Core (为 ShiftRightLogical_Core 提供参数).
- See Also
ShiftRightLogical_Args(IVectorTraits, Vector<ulong>, int)
Arguments calculation for shifts (unsigned) each element of a vector right by the specified amount. (将向量的每个无符号元素逻辑右移指定量的参数计算). Provide arguments for ShiftRightLogical_Core (为 ShiftRightLogical_Core 提供参数).
Mnemonic: rt[i] := value[i] >>> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[CLSCompliant(false)]
public static (Vector<ulong> args0, Vector<ulong> args1) ShiftRightLogical_Args(this IVectorTraits athis, Vector<ulong> dummy, int shiftAmount)
Parameters
athis
IVectorTraitsdummy
Vector<ulong>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- (Vector<ulong> Lower, Vector<ulong> Upper)
The arguments provided for ShiftRightLogical_Core (为 ShiftRightLogical_Core 提供参数).
- See Also