Method ShiftRightArithmetic_Args
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
ShiftRightArithmetic_Args<T>(Vector512<T>, int)
Arguments calculation for shifts (signed) each element of a vector right by the specified amount (将向量的每个有符号元素算术右移指定量的参数计算). Provide arguments for ShiftRightArithmetic_Core (为 ShiftRightArithmetic_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 (Vector512<T> args0, Vector512<T> args1) ShiftRightArithmetic_Args<T>(Vector512<T> dummy, int shiftAmount) where T : struct
Parameters
dummy
Vector512<T>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- (Vector512<T> args0, Vector512<T> args1)
The arguments provided for ShiftRightArithmetic_Core (为 ShiftRightArithmetic_Core 提供参数).
Type Parameters
T
The element type of the input parameter (输入参数的元素类型).
- See Also
ShiftRightArithmetic_Args(Vector512<sbyte>, int)
Arguments calculation for shifts (signed) each element of a vector right by the specified amount (将向量的每个有符号元素算术右移指定量的参数计算). Provide arguments for ShiftRightArithmetic_Core (为 ShiftRightArithmetic_Core 提供参数).
Mnemonic: rt[i] := value[i] >> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[CLSCompliant(false)]
public static (Vector512<sbyte> args0, Vector512<sbyte> args1) ShiftRightArithmetic_Args(Vector512<sbyte> dummy, int shiftAmount)
Parameters
dummy
Vector512<sbyte>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- (Vector512<sbyte> args0, Vector512<sbyte> args1)
The arguments provided for ShiftRightArithmetic_Core (为 ShiftRightArithmetic_Core 提供参数).
- See Also
ShiftRightArithmetic_Args(Vector512<short>, int)
Arguments calculation for shifts (signed) each element of a vector right by the specified amount (将向量的每个有符号元素算术右移指定量的参数计算). Provide arguments for ShiftRightArithmetic_Core (为 ShiftRightArithmetic_Core 提供参数).
Mnemonic: rt[i] := value[i] >> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
public static (Vector512<short> args0, Vector512<short> args1) ShiftRightArithmetic_Args(Vector512<short> dummy, int shiftAmount)
Parameters
dummy
Vector512<short>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- (Vector512<short> Lower, Vector512<short> Upper)
The arguments provided for ShiftRightArithmetic_Core (为 ShiftRightArithmetic_Core 提供参数).
- See Also
ShiftRightArithmetic_Args(Vector512<int>, int)
Arguments calculation for shifts (signed) each element of a vector right by the specified amount (将向量的每个有符号元素算术右移指定量的参数计算). Provide arguments for ShiftRightArithmetic_Core (为 ShiftRightArithmetic_Core 提供参数).
Mnemonic: rt[i] := value[i] >> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
public static (Vector512<int> args0, Vector512<int> args1) ShiftRightArithmetic_Args(Vector512<int> dummy, int shiftAmount)
Parameters
dummy
Vector512<int>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- (Vector512<int> Lower, Vector512<int> Upper)
The arguments provided for ShiftRightArithmetic_Core (为 ShiftRightArithmetic_Core 提供参数).
- See Also
ShiftRightArithmetic_Args(Vector512<long>, int)
Arguments calculation for shifts (signed) each element of a vector right by the specified amount (将向量的每个有符号元素算术右移指定量的参数计算). Provide arguments for ShiftRightArithmetic_Core (为 ShiftRightArithmetic_Core 提供参数).
Mnemonic: rt[i] := value[i] >> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
public static (Vector512<long> args0, Vector512<long> args1) ShiftRightArithmetic_Args(Vector512<long> dummy, int shiftAmount)
Parameters
dummy
Vector512<long>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
Returns
- (Vector512<long> Lower, Vector512<long> Upper)
The arguments provided for ShiftRightArithmetic_Core (为 ShiftRightArithmetic_Core 提供参数).
- See Also
ShiftRightArithmetic_Args(Vector512<sbyte>, int, out Vector512<sbyte>)
Arguments calculation for shifts (signed) each element of a vector right by the specified amount (将向量的每个有符号元素算术右移指定量的参数计算). Provide arguments for ShiftRightArithmetic_Core (为 ShiftRightArithmetic_Core 提供参数).
Mnemonic: rt[i] := value[i] >> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
[CLSCompliant(false)]
public static Vector512<sbyte> ShiftRightArithmetic_Args(Vector512<sbyte> dummy, int shiftAmount, out Vector512<sbyte> args1)
Parameters
dummy
Vector512<sbyte>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
args1
Vector512<sbyte>Returns arguments 1 (返回参数1). Used for ShiftRightArithmetic_Core .
Returns
- See Also
ShiftRightArithmetic_Args(Vector512<short>, int, out Vector512<short>)
Arguments calculation for shifts (signed) each element of a vector right by the specified amount (将向量的每个有符号元素算术右移指定量的参数计算). Provide arguments for ShiftRightArithmetic_Core (为 ShiftRightArithmetic_Core 提供参数).
Mnemonic: rt[i] := value[i] >> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
public static Vector512<short> ShiftRightArithmetic_Args(Vector512<short> dummy, int shiftAmount, out Vector512<short> args1)
Parameters
dummy
Vector512<short>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
args1
Vector512<short>Returns arguments 1 (返回参数1). Used for ShiftRightArithmetic_Core .
Returns
- See Also
ShiftRightArithmetic_Args(Vector512<int>, int, out Vector512<int>)
Arguments calculation for shifts (signed) each element of a vector right by the specified amount (将向量的每个有符号元素算术右移指定量的参数计算). Provide arguments for ShiftRightArithmetic_Core (为 ShiftRightArithmetic_Core 提供参数).
Mnemonic: rt[i] := value[i] >> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
public static Vector512<int> ShiftRightArithmetic_Args(Vector512<int> dummy, int shiftAmount, out Vector512<int> args1)
Parameters
dummy
Vector512<int>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
args1
Vector512<int>Returns arguments 1 (返回参数1). Used for ShiftRightArithmetic_Core .
Returns
- See Also
ShiftRightArithmetic_Args(Vector512<long>, int, out Vector512<long>)
Arguments calculation for shifts (signed) each element of a vector right by the specified amount (将向量的每个有符号元素算术右移指定量的参数计算). Provide arguments for ShiftRightArithmetic_Core (为 ShiftRightArithmetic_Core 提供参数).
Mnemonic: rt[i] := value[i] >> shiftAmount
, shiftAmount &= (T.BitSize-1)
.
public static Vector512<long> ShiftRightArithmetic_Args(Vector512<long> dummy, int shiftAmount, out Vector512<long> args1)
Parameters
dummy
Vector512<long>Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数).
args1
Vector512<long>Returns arguments 1 (返回参数1). Used for ShiftRightArithmetic_Core .
Returns
- See Also