Method YShuffleX4Kernel_Args
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
YShuffleX4Kernel_Args<TIdx>(Vector<TIdx>, out Vector<TIdx>, out Vector<TIdx>, out Vector<TIdx>, out Vector<TIdx>)
Arguments calculation for only shuffle on 4 vectors (在4个向量上进行仅换位的参数计算). Provide arguments for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX4Mask to constrain the parameters (可使用 IndexX4Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1, vector2, vector3)
. Conditions: 0<=indices[i] && indices[i]<(Count*4)
.
[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 void YShuffleX4Kernel_Args<TIdx>(Vector<TIdx> indices, out Vector<TIdx> args0, out Vector<TIdx> args1, out Vector<TIdx> args2, out Vector<TIdx> args3) where TIdx : struct
Parameters
indices
Vector<TIdx>The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).
args0
Vector<TIdx>Arguments 0 (参数0). Used for YShuffleX4Kernel_Core .
args1
Vector<TIdx>Arguments 1 (参数1). Used for YShuffleX4Kernel_Core .
args2
Vector<TIdx>Arguments 2 (参数2). Used for YShuffleX4Kernel_Core .
args3
Vector<TIdx>Arguments 3 (参数3). Used for YShuffleX4Kernel_Core .
Type Parameters
TIdx
The element type of the indices parameter (索引参数的元素类型).
Exceptions
- NotSupportedException
These element types(
TIdx
) are not supported.
- See Also
YShuffleX4Kernel_Args<TIdx>(Vector<TIdx>)
Arguments calculation for only shuffle on 4 vectors (在4个向量上进行仅换位的参数计算). Provide arguments for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX4Mask to constrain the parameters (可使用 IndexX4Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1, vector2, vector3)
. Conditions: 0<=indices[i] && indices[i]<(Count*4)
.
[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 (Vector<TIdx> args0, Vector<TIdx> args1, Vector<TIdx> args2, Vector<TIdx> args3) YShuffleX4Kernel_Args<TIdx>(Vector<TIdx> indices) where TIdx : struct
Parameters
indices
Vector<TIdx>The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).
Returns
- (Vector<TIdx> args0, Vector<TIdx> args1, Vector<TIdx> args2, Vector<TIdx> args3)
The arguments provided for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数).
Type Parameters
TIdx
The element type of the indices parameter (索引参数的元素类型).
Exceptions
- NotSupportedException
These element types(
TIdx
) are not supported.
YShuffleX4Kernel_Args(Vector<sbyte>)
Arguments calculation for only shuffle on 4 vectors (在4个向量上进行仅换位的参数计算). Provide arguments for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX4Mask to constrain the parameters (可使用 IndexX4Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1, vector2, vector3)
. Conditions: 0<=indices[i] && indices[i]<(Count*4)
.
[CLSCompliant(false)]
public static (Vector<sbyte> args0, Vector<sbyte> args1, Vector<sbyte> args2, Vector<sbyte> args3) YShuffleX4Kernel_Args(Vector<sbyte> indices)
Parameters
indices
Vector<sbyte>The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).
Returns
- (Vector<sbyte> args0, Vector<sbyte> args1, Vector<sbyte> args2, Vector<sbyte> args3)
The arguments provided for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数).
- See Also
YShuffleX4Kernel_Args(Vector<byte>)
Arguments calculation for only shuffle on 4 vectors (在4个向量上进行仅换位的参数计算). Provide arguments for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX4Mask to constrain the parameters (可使用 IndexX4Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1, vector2, vector3)
. Conditions: 0<=indices[i] && indices[i]<(Count*4)
.
public static (Vector<byte> args0, Vector<byte> args1, Vector<byte> args2, Vector<byte> args3) YShuffleX4Kernel_Args(Vector<byte> indices)
Parameters
indices
Vector<byte>The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).
Returns
- (Vector<byte> args0, Vector<byte> args1, Vector<byte> args2, Vector<byte> args3)
The arguments provided for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数).
- See Also
YShuffleX4Kernel_Args(Vector<short>)
Arguments calculation for only shuffle on 4 vectors (在4个向量上进行仅换位的参数计算). Provide arguments for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX4Mask to constrain the parameters (可使用 IndexX4Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1, vector2, vector3)
. Conditions: 0<=indices[i] && indices[i]<(Count*4)
.
public static (Vector<short> args0, Vector<short> args1, Vector<short> args2, Vector<short> args3) YShuffleX4Kernel_Args(Vector<short> indices)
Parameters
indices
Vector<short>The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).
Returns
- (Vector<short> args0, Vector<short> args1, Vector<short> args2, Vector<short> args3)
The arguments provided for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数).
- See Also
YShuffleX4Kernel_Args(Vector<ushort>)
Arguments calculation for only shuffle on 4 vectors (在4个向量上进行仅换位的参数计算). Provide arguments for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX4Mask to constrain the parameters (可使用 IndexX4Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1, vector2, vector3)
. Conditions: 0<=indices[i] && indices[i]<(Count*4)
.
[CLSCompliant(false)]
public static (Vector<ushort> args0, Vector<ushort> args1, Vector<ushort> args2, Vector<ushort> args3) YShuffleX4Kernel_Args(Vector<ushort> indices)
Parameters
indices
Vector<ushort>The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).
Returns
- (Vector<ushort> args0, Vector<ushort> args1, Vector<ushort> args2, Vector<ushort> args3)
The arguments provided for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数).
- See Also
YShuffleX4Kernel_Args(Vector<int>)
Arguments calculation for only shuffle on 4 vectors (在4个向量上进行仅换位的参数计算). Provide arguments for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX4Mask to constrain the parameters (可使用 IndexX4Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1, vector2, vector3)
. Conditions: 0<=indices[i] && indices[i]<(Count*4)
.
public static (Vector<int> args0, Vector<int> args1, Vector<int> args2, Vector<int> args3) YShuffleX4Kernel_Args(Vector<int> indices)
Parameters
indices
Vector<int>The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).
Returns
- (Vector<int> args0, Vector<int> args1, Vector<int> args2, Vector<int> args3)
The arguments provided for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数).
- See Also
YShuffleX4Kernel_Args(Vector<uint>)
Arguments calculation for only shuffle on 4 vectors (在4个向量上进行仅换位的参数计算). Provide arguments for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX4Mask to constrain the parameters (可使用 IndexX4Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1, vector2, vector3)
. Conditions: 0<=indices[i] && indices[i]<(Count*4)
.
[CLSCompliant(false)]
public static (Vector<uint> args0, Vector<uint> args1, Vector<uint> args2, Vector<uint> args3) YShuffleX4Kernel_Args(Vector<uint> indices)
Parameters
indices
Vector<uint>The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).
Returns
- (Vector<uint> args0, Vector<uint> args1, Vector<uint> args2, Vector<uint> args3)
The arguments provided for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数).
- See Also
YShuffleX4Kernel_Args(Vector<long>)
Arguments calculation for only shuffle on 4 vectors (在4个向量上进行仅换位的参数计算). Provide arguments for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX4Mask to constrain the parameters (可使用 IndexX4Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1, vector2, vector3)
. Conditions: 0<=indices[i] && indices[i]<(Count*4)
.
public static (Vector<long> args0, Vector<long> args1, Vector<long> args2, Vector<long> args3) YShuffleX4Kernel_Args(Vector<long> indices)
Parameters
indices
Vector<long>The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).
Returns
- (Vector<long> args0, Vector<long> args1, Vector<long> args2, Vector<long> args3)
The arguments provided for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数).
- See Also
YShuffleX4Kernel_Args(Vector<ulong>)
Arguments calculation for only shuffle on 4 vectors (在4个向量上进行仅换位的参数计算). Provide arguments for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX4Mask to constrain the parameters (可使用 IndexX4Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1, vector2, vector3)
. Conditions: 0<=indices[i] && indices[i]<(Count*4)
.
[CLSCompliant(false)]
public static (Vector<ulong> args0, Vector<ulong> args1, Vector<ulong> args2, Vector<ulong> args3) YShuffleX4Kernel_Args(Vector<ulong> indices)
Parameters
indices
Vector<ulong>The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).
Returns
- (Vector<ulong> args0, Vector<ulong> args1, Vector<ulong> args2, Vector<ulong> args3)
The arguments provided for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数).
- See Also
YShuffleX4Kernel_Args(Vector<sbyte>, out Vector<sbyte>, out Vector<sbyte>, out Vector<sbyte>, out Vector<sbyte>)
Arguments calculation for only shuffle on 4 vectors (在4个向量上进行仅换位的参数计算). Provide arguments for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX4Mask to constrain the parameters (可使用 IndexX4Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1, vector2, vector3)
. Conditions: 0<=indices[i] && indices[i]<(Count*4)
.
[CLSCompliant(false)]
public static void YShuffleX4Kernel_Args(Vector<sbyte> indices, out Vector<sbyte> args0, out Vector<sbyte> args1, out Vector<sbyte> args2, out Vector<sbyte> args3)
Parameters
indices
Vector<sbyte>The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).
args0
Vector<sbyte>Arguments 0 (参数0). Used for YShuffleX4Kernel_Core .
args1
Vector<sbyte>Arguments 1 (参数1). Used for YShuffleX4Kernel_Core .
args2
Vector<sbyte>Arguments 2 (参数2). Used for YShuffleX4Kernel_Core .
args3
Vector<sbyte>Arguments 3 (参数3). Used for YShuffleX4Kernel_Core .
- See Also
YShuffleX4Kernel_Args(Vector<byte>, out Vector<byte>, out Vector<byte>, out Vector<byte>, out Vector<byte>)
Arguments calculation for only shuffle on 4 vectors (在4个向量上进行仅换位的参数计算). Provide arguments for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX4Mask to constrain the parameters (可使用 IndexX4Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1, vector2, vector3)
. Conditions: 0<=indices[i] && indices[i]<(Count*4)
.
public static void YShuffleX4Kernel_Args(Vector<byte> indices, out Vector<byte> args0, out Vector<byte> args1, out Vector<byte> args2, out Vector<byte> args3)
Parameters
indices
Vector<byte>The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).
args0
Vector<byte>Arguments 0 (参数0). Used for YShuffleX4Kernel_Core .
args1
Vector<byte>Arguments 1 (参数1). Used for YShuffleX4Kernel_Core .
args2
Vector<byte>Arguments 2 (参数2). Used for YShuffleX4Kernel_Core .
args3
Vector<byte>Arguments 3 (参数3). Used for YShuffleX4Kernel_Core .
- See Also
YShuffleX4Kernel_Args(Vector<short>, out Vector<short>, out Vector<short>, out Vector<short>, out Vector<short>)
Arguments calculation for only shuffle on 4 vectors (在4个向量上进行仅换位的参数计算). Provide arguments for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX4Mask to constrain the parameters (可使用 IndexX4Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1, vector2, vector3)
. Conditions: 0<=indices[i] && indices[i]<(Count*4)
.
public static void YShuffleX4Kernel_Args(Vector<short> indices, out Vector<short> args0, out Vector<short> args1, out Vector<short> args2, out Vector<short> args3)
Parameters
indices
Vector<short>The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).
args0
Vector<short>Arguments 0 (参数0). Used for YShuffleX4Kernel_Core .
args1
Vector<short>Arguments 1 (参数1). Used for YShuffleX4Kernel_Core .
args2
Vector<short>Arguments 2 (参数2). Used for YShuffleX4Kernel_Core .
args3
Vector<short>Arguments 3 (参数3). Used for YShuffleX4Kernel_Core .
- See Also
YShuffleX4Kernel_Args(Vector<ushort>, out Vector<ushort>, out Vector<ushort>, out Vector<ushort>, out Vector<ushort>)
Arguments calculation for only shuffle on 4 vectors (在4个向量上进行仅换位的参数计算). Provide arguments for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX4Mask to constrain the parameters (可使用 IndexX4Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1, vector2, vector3)
. Conditions: 0<=indices[i] && indices[i]<(Count*4)
.
[CLSCompliant(false)]
public static void YShuffleX4Kernel_Args(Vector<ushort> indices, out Vector<ushort> args0, out Vector<ushort> args1, out Vector<ushort> args2, out Vector<ushort> args3)
Parameters
indices
Vector<ushort>The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).
args0
Vector<ushort>Arguments 0 (参数0). Used for YShuffleX4Kernel_Core .
args1
Vector<ushort>Arguments 1 (参数1). Used for YShuffleX4Kernel_Core .
args2
Vector<ushort>Arguments 2 (参数2). Used for YShuffleX4Kernel_Core .
args3
Vector<ushort>Arguments 3 (参数3). Used for YShuffleX4Kernel_Core .
- See Also
YShuffleX4Kernel_Args(Vector<int>, out Vector<int>, out Vector<int>, out Vector<int>, out Vector<int>)
Arguments calculation for only shuffle on 4 vectors (在4个向量上进行仅换位的参数计算). Provide arguments for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX4Mask to constrain the parameters (可使用 IndexX4Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1, vector2, vector3)
. Conditions: 0<=indices[i] && indices[i]<(Count*4)
.
public static void YShuffleX4Kernel_Args(Vector<int> indices, out Vector<int> args0, out Vector<int> args1, out Vector<int> args2, out Vector<int> args3)
Parameters
indices
Vector<int>The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).
args0
Vector<int>Arguments 0 (参数0). Used for YShuffleX4Kernel_Core .
args1
Vector<int>Arguments 1 (参数1). Used for YShuffleX4Kernel_Core .
args2
Vector<int>Arguments 2 (参数2). Used for YShuffleX4Kernel_Core .
args3
Vector<int>Arguments 3 (参数3). Used for YShuffleX4Kernel_Core .
- See Also
YShuffleX4Kernel_Args(Vector<uint>, out Vector<uint>, out Vector<uint>, out Vector<uint>, out Vector<uint>)
Arguments calculation for only shuffle on 4 vectors (在4个向量上进行仅换位的参数计算). Provide arguments for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX4Mask to constrain the parameters (可使用 IndexX4Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1, vector2, vector3)
. Conditions: 0<=indices[i] && indices[i]<(Count*4)
.
[CLSCompliant(false)]
public static void YShuffleX4Kernel_Args(Vector<uint> indices, out Vector<uint> args0, out Vector<uint> args1, out Vector<uint> args2, out Vector<uint> args3)
Parameters
indices
Vector<uint>The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).
args0
Vector<uint>Arguments 0 (参数0). Used for YShuffleX4Kernel_Core .
args1
Vector<uint>Arguments 1 (参数1). Used for YShuffleX4Kernel_Core .
args2
Vector<uint>Arguments 2 (参数2). Used for YShuffleX4Kernel_Core .
args3
Vector<uint>Arguments 3 (参数3). Used for YShuffleX4Kernel_Core .
- See Also
YShuffleX4Kernel_Args(Vector<long>, out Vector<long>, out Vector<long>, out Vector<long>, out Vector<long>)
Arguments calculation for only shuffle on 4 vectors (在4个向量上进行仅换位的参数计算). Provide arguments for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX4Mask to constrain the parameters (可使用 IndexX4Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1, vector2, vector3)
. Conditions: 0<=indices[i] && indices[i]<(Count*4)
.
public static void YShuffleX4Kernel_Args(Vector<long> indices, out Vector<long> args0, out Vector<long> args1, out Vector<long> args2, out Vector<long> args3)
Parameters
indices
Vector<long>The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).
args0
Vector<long>Arguments 0 (参数0). Used for YShuffleX4Kernel_Core .
args1
Vector<long>Arguments 1 (参数1). Used for YShuffleX4Kernel_Core .
args2
Vector<long>Arguments 2 (参数2). Used for YShuffleX4Kernel_Core .
args3
Vector<long>Arguments 3 (参数3). Used for YShuffleX4Kernel_Core .
- See Also
YShuffleX4Kernel_Args(Vector<ulong>, out Vector<ulong>, out Vector<ulong>, out Vector<ulong>, out Vector<ulong>)
Arguments calculation for only shuffle on 4 vectors (在4个向量上进行仅换位的参数计算). Provide arguments for YShuffleX4Kernel_Core (为 YShuffleX4Kernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexX4Mask to constrain the parameters (可使用 IndexX4Mask 掩码来约束参数).
Mnemonic: rt[i] := element_ref(indices[i], vector0, vector1, vector2, vector3)
. Conditions: 0<=indices[i] && indices[i]<(Count*4)
.
[CLSCompliant(false)]
public static void YShuffleX4Kernel_Args(Vector<ulong> indices, out Vector<ulong> args0, out Vector<ulong> args1, out Vector<ulong> args2, out Vector<ulong> args3)
Parameters
indices
Vector<ulong>The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).
args0
Vector<ulong>Arguments 0 (参数0). Used for YShuffleX4Kernel_Core .
args1
Vector<ulong>Arguments 1 (参数1). Used for YShuffleX4Kernel_Core .
args2
Vector<ulong>Arguments 2 (参数2). Used for YShuffleX4Kernel_Core .
args3
Vector<ulong>Arguments 3 (参数3). Used for YShuffleX4Kernel_Core .