Method YShuffleKernel_Args_Multiply
- Namespace
- Zyl.VectorTraits.Impl.AVector128
- Assembly
- VectorTraits.dll
YShuffleKernel_Args_Multiply(Vector128<ushort>, out Vector128<ushort>, out Vector128<ushort>)
Arguments calculation for only shuffle (仅换位的参数计算). Provide arguments for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexMask to constrain the parameters (可使用 IndexMask 掩码来约束参数).
Mnemonic: rt[i] := vector[indices[i]]
. Conditions: 0<=indices[i] && indices[i]<Count
.
[CLSCompliant(false)]
public static void YShuffleKernel_Args_Multiply(Vector128<ushort> indices, out Vector128<ushort> args0, out Vector128<ushort> args1)
Parameters
indices
Vector128<ushort>The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).
args0
Vector128<ushort>Arguments 0 (参数0). Used for YShuffleKernel_Core .
args1
Vector128<ushort>Arguments 1 (参数1). Used for YShuffleKernel_Core .
- See Also