Method YShuffleX3_Core
- Namespace
- Zyl.VectorTraits.Impl
- Assembly
- VectorTraits.dll
YShuffleX3_Core<T, TIdx>(IWVectorTraits256, Vector256<T>, Vector256<T>, Vector256<T>, (Vector256<TIdx> args0, Vector256<TIdx> args1, Vector256<TIdx> args2, Vector256<TIdx> args3, Vector256<TIdx> args4))
Core calculation for shuffle and clear on 3 vectors (在3个向量上进行换位并清零的核心计算). Its arguments are derived from YShuffleX3_Args (其参数来源于 YShuffleX3_Args).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*3))?( element_ref(indices[i], vector0, vector1, vector2) ):0
.
[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 Vector256<T> YShuffleX3_Core<T, TIdx>(this IWVectorTraits256 athis, Vector256<T> vector0, Vector256<T> vector1, Vector256<T> vector2, (Vector256<TIdx> args0, Vector256<TIdx> args1, Vector256<TIdx> args2, Vector256<TIdx> args3, Vector256<TIdx> args4) args) where T : struct where TIdx : struct
Parameters
athis
IWVectorTraits256This object.
vector0
Vector256<T>The input vector 0 from which values are selected (从中选择值的输入向量0).
vector1
Vector256<T>The input vector 1 from which values are selected (从中选择值的输入向量1).
vector2
Vector256<T>The input vector 2 from which values are selected (从中选择值的输入向量2).
args
(Vector256<TIdx> args0, Vector256<TIdx> args1, Vector256<TIdx> args2, Vector256<TIdx> args3, Vector256<TIdx> args4)The arguments(参数). Derived from YShuffleKernel_Args .
Returns
- Vector256<T>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
Type Parameters
T
The element type of the input parameter (输入参数的元素类型).
TIdx
The element type of the indices parameter (索引参数的元素类型).
Exceptions
- NotSupportedException
These element types(
T
,TIdx
) are not supported.
- See Also
YShuffleX3_Core(IWVectorTraits256, Vector256<float>, Vector256<float>, Vector256<float>, (Vector256<int> args0, Vector256<int> args1, Vector256<int> args2, Vector256<int> args3, Vector256<int> args4))
Core calculation for shuffle and clear on 3 vectors (在3个向量上进行换位并清零的核心计算). Its arguments are derived from YShuffleX3_Args (其参数来源于 YShuffleX3_Args).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*3))?( element_ref(indices[i], vector0, vector1, vector2) ):0
.
[CLSCompliant(false)]
public static Vector256<float> YShuffleX3_Core(this IWVectorTraits256 athis, Vector256<float> vector0, Vector256<float> vector1, Vector256<float> vector2, (Vector256<int> args0, Vector256<int> args1, Vector256<int> args2, Vector256<int> args3, Vector256<int> args4) args)
Parameters
athis
IWVectorTraits256vector0
Vector256<float>The input vector 0 from which values are selected (从中选择值的输入向量0).
vector1
Vector256<float>The input vector 1 from which values are selected (从中选择值的输入向量1).
vector2
Vector256<float>The input vector 2 from which values are selected (从中选择值的输入向量2).
args
(Vector256<int> args0, Vector256<int> args1, Vector256<int> args2, Vector256<int> args3, Vector256<int> args4)The arguments(参数). Derived from YShuffleKernel_Args .
Returns
- Vector256<float>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX3_Core(IWVectorTraits256, Vector256<double>, Vector256<double>, Vector256<double>, (Vector256<long> args0, Vector256<long> args1, Vector256<long> args2, Vector256<long> args3, Vector256<long> args4))
Core calculation for shuffle and clear on 3 vectors (在3个向量上进行换位并清零的核心计算). Its arguments are derived from YShuffleX3_Args (其参数来源于 YShuffleX3_Args).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*3))?( element_ref(indices[i], vector0, vector1, vector2) ):0
.
[CLSCompliant(false)]
public static Vector256<double> YShuffleX3_Core(this IWVectorTraits256 athis, Vector256<double> vector0, Vector256<double> vector1, Vector256<double> vector2, (Vector256<long> args0, Vector256<long> args1, Vector256<long> args2, Vector256<long> args3, Vector256<long> args4) args)
Parameters
athis
IWVectorTraits256vector0
Vector256<double>The input vector 0 from which values are selected (从中选择值的输入向量0).
vector1
Vector256<double>The input vector 1 from which values are selected (从中选择值的输入向量1).
vector2
Vector256<double>The input vector 2 from which values are selected (从中选择值的输入向量2).
args
(Vector256<long> args0, Vector256<long> args1, Vector256<long> args2, Vector256<long> args3, Vector256<long> args4)The arguments(参数). Derived from YShuffleKernel_Args .
Returns
- Vector256<double>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX3_Core(IWVectorTraits256, Vector256<sbyte>, Vector256<sbyte>, Vector256<sbyte>, (Vector256<sbyte> args0, Vector256<sbyte> args1, Vector256<sbyte> args2, Vector256<sbyte> args3, Vector256<sbyte> args4))
Core calculation for shuffle and clear on 3 vectors (在3个向量上进行换位并清零的核心计算). Its arguments are derived from YShuffleX3_Args (其参数来源于 YShuffleX3_Args).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*3))?( element_ref(indices[i], vector0, vector1, vector2) ):0
.
[CLSCompliant(false)]
public static Vector256<sbyte> YShuffleX3_Core(this IWVectorTraits256 athis, Vector256<sbyte> vector0, Vector256<sbyte> vector1, Vector256<sbyte> vector2, (Vector256<sbyte> args0, Vector256<sbyte> args1, Vector256<sbyte> args2, Vector256<sbyte> args3, Vector256<sbyte> args4) args)
Parameters
athis
IWVectorTraits256vector0
Vector256<sbyte>The input vector 0 from which values are selected (从中选择值的输入向量0).
vector1
Vector256<sbyte>The input vector 1 from which values are selected (从中选择值的输入向量1).
vector2
Vector256<sbyte>The input vector 2 from which values are selected (从中选择值的输入向量2).
args
(Vector256<sbyte> args0, Vector256<sbyte> args1, Vector256<sbyte> args2, Vector256<sbyte> args3, Vector256<sbyte> args4)The arguments(参数). Derived from YShuffleKernel_Args .
Returns
- Vector256<sbyte>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX3_Core(IWVectorTraits256, Vector256<byte>, Vector256<byte>, Vector256<byte>, (Vector256<byte> args0, Vector256<byte> args1, Vector256<byte> args2, Vector256<byte> args3, Vector256<byte> args4))
Core calculation for shuffle and clear on 3 vectors (在3个向量上进行换位并清零的核心计算). Its arguments are derived from YShuffleX3_Args (其参数来源于 YShuffleX3_Args).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*3))?( element_ref(indices[i], vector0, vector1, vector2) ):0
.
[CLSCompliant(false)]
public static Vector256<byte> YShuffleX3_Core(this IWVectorTraits256 athis, Vector256<byte> vector0, Vector256<byte> vector1, Vector256<byte> vector2, (Vector256<byte> args0, Vector256<byte> args1, Vector256<byte> args2, Vector256<byte> args3, Vector256<byte> args4) args)
Parameters
athis
IWVectorTraits256vector0
Vector256<byte>The input vector 0 from which values are selected (从中选择值的输入向量0).
vector1
Vector256<byte>The input vector 1 from which values are selected (从中选择值的输入向量1).
vector2
Vector256<byte>The input vector 2 from which values are selected (从中选择值的输入向量2).
args
(Vector256<byte> args0, Vector256<byte> args1, Vector256<byte> args2, Vector256<byte> args3, Vector256<byte> args4)The arguments(参数). Derived from YShuffleKernel_Args .
Returns
- Vector256<byte>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX3_Core(IWVectorTraits256, Vector256<short>, Vector256<short>, Vector256<short>, (Vector256<short> args0, Vector256<short> args1, Vector256<short> args2, Vector256<short> args3, Vector256<short> args4))
Core calculation for shuffle and clear on 3 vectors (在3个向量上进行换位并清零的核心计算). Its arguments are derived from YShuffleX3_Args (其参数来源于 YShuffleX3_Args).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*3))?( element_ref(indices[i], vector0, vector1, vector2) ):0
.
[CLSCompliant(false)]
public static Vector256<short> YShuffleX3_Core(this IWVectorTraits256 athis, Vector256<short> vector0, Vector256<short> vector1, Vector256<short> vector2, (Vector256<short> args0, Vector256<short> args1, Vector256<short> args2, Vector256<short> args3, Vector256<short> args4) args)
Parameters
athis
IWVectorTraits256vector0
Vector256<short>The input vector 0 from which values are selected (从中选择值的输入向量0).
vector1
Vector256<short>The input vector 1 from which values are selected (从中选择值的输入向量1).
vector2
Vector256<short>The input vector 2 from which values are selected (从中选择值的输入向量2).
args
(Vector256<short> args0, Vector256<short> args1, Vector256<short> args2, Vector256<short> args3, Vector256<short> args4)The arguments(参数). Derived from YShuffleKernel_Args .
Returns
- Vector256<short>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX3_Core(IWVectorTraits256, Vector256<ushort>, Vector256<ushort>, Vector256<ushort>, (Vector256<ushort> args0, Vector256<ushort> args1, Vector256<ushort> args2, Vector256<ushort> args3, Vector256<ushort> args4))
Core calculation for shuffle and clear on 3 vectors (在3个向量上进行换位并清零的核心计算). Its arguments are derived from YShuffleX3_Args (其参数来源于 YShuffleX3_Args).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*3))?( element_ref(indices[i], vector0, vector1, vector2) ):0
.
[CLSCompliant(false)]
public static Vector256<ushort> YShuffleX3_Core(this IWVectorTraits256 athis, Vector256<ushort> vector0, Vector256<ushort> vector1, Vector256<ushort> vector2, (Vector256<ushort> args0, Vector256<ushort> args1, Vector256<ushort> args2, Vector256<ushort> args3, Vector256<ushort> args4) args)
Parameters
athis
IWVectorTraits256vector0
Vector256<ushort>The input vector 0 from which values are selected (从中选择值的输入向量0).
vector1
Vector256<ushort>The input vector 1 from which values are selected (从中选择值的输入向量1).
vector2
Vector256<ushort>The input vector 2 from which values are selected (从中选择值的输入向量2).
args
(Vector256<ushort> args0, Vector256<ushort> args1, Vector256<ushort> args2, Vector256<ushort> args3, Vector256<ushort> args4)The arguments(参数). Derived from YShuffleKernel_Args .
Returns
- Vector256<ushort>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX3_Core(IWVectorTraits256, Vector256<int>, Vector256<int>, Vector256<int>, (Vector256<int> args0, Vector256<int> args1, Vector256<int> args2, Vector256<int> args3, Vector256<int> args4))
Core calculation for shuffle and clear on 3 vectors (在3个向量上进行换位并清零的核心计算). Its arguments are derived from YShuffleX3_Args (其参数来源于 YShuffleX3_Args).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*3))?( element_ref(indices[i], vector0, vector1, vector2) ):0
.
[CLSCompliant(false)]
public static Vector256<int> YShuffleX3_Core(this IWVectorTraits256 athis, Vector256<int> vector0, Vector256<int> vector1, Vector256<int> vector2, (Vector256<int> args0, Vector256<int> args1, Vector256<int> args2, Vector256<int> args3, Vector256<int> args4) args)
Parameters
athis
IWVectorTraits256vector0
Vector256<int>The input vector 0 from which values are selected (从中选择值的输入向量0).
vector1
Vector256<int>The input vector 1 from which values are selected (从中选择值的输入向量1).
vector2
Vector256<int>The input vector 2 from which values are selected (从中选择值的输入向量2).
args
(Vector256<int> args0, Vector256<int> args1, Vector256<int> args2, Vector256<int> args3, Vector256<int> args4)The arguments(参数). Derived from YShuffleKernel_Args .
Returns
- Vector256<int>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX3_Core(IWVectorTraits256, Vector256<uint>, Vector256<uint>, Vector256<uint>, (Vector256<uint> args0, Vector256<uint> args1, Vector256<uint> args2, Vector256<uint> args3, Vector256<uint> args4))
Core calculation for shuffle and clear on 3 vectors (在3个向量上进行换位并清零的核心计算). Its arguments are derived from YShuffleX3_Args (其参数来源于 YShuffleX3_Args).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*3))?( element_ref(indices[i], vector0, vector1, vector2) ):0
.
[CLSCompliant(false)]
public static Vector256<uint> YShuffleX3_Core(this IWVectorTraits256 athis, Vector256<uint> vector0, Vector256<uint> vector1, Vector256<uint> vector2, (Vector256<uint> args0, Vector256<uint> args1, Vector256<uint> args2, Vector256<uint> args3, Vector256<uint> args4) args)
Parameters
athis
IWVectorTraits256vector0
Vector256<uint>The input vector 0 from which values are selected (从中选择值的输入向量0).
vector1
Vector256<uint>The input vector 1 from which values are selected (从中选择值的输入向量1).
vector2
Vector256<uint>The input vector 2 from which values are selected (从中选择值的输入向量2).
args
(Vector256<uint> args0, Vector256<uint> args1, Vector256<uint> args2, Vector256<uint> args3, Vector256<uint> args4)The arguments(参数). Derived from YShuffleKernel_Args .
Returns
- Vector256<uint>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX3_Core(IWVectorTraits256, Vector256<long>, Vector256<long>, Vector256<long>, (Vector256<long> args0, Vector256<long> args1, Vector256<long> args2, Vector256<long> args3, Vector256<long> args4))
Core calculation for shuffle and clear on 3 vectors (在3个向量上进行换位并清零的核心计算). Its arguments are derived from YShuffleX3_Args (其参数来源于 YShuffleX3_Args).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*3))?( element_ref(indices[i], vector0, vector1, vector2) ):0
.
[CLSCompliant(false)]
public static Vector256<long> YShuffleX3_Core(this IWVectorTraits256 athis, Vector256<long> vector0, Vector256<long> vector1, Vector256<long> vector2, (Vector256<long> args0, Vector256<long> args1, Vector256<long> args2, Vector256<long> args3, Vector256<long> args4) args)
Parameters
athis
IWVectorTraits256vector0
Vector256<long>The input vector 0 from which values are selected (从中选择值的输入向量0).
vector1
Vector256<long>The input vector 1 from which values are selected (从中选择值的输入向量1).
vector2
Vector256<long>The input vector 2 from which values are selected (从中选择值的输入向量2).
args
(Vector256<long> args0, Vector256<long> args1, Vector256<long> args2, Vector256<long> args3, Vector256<long> args4)The arguments(参数). Derived from YShuffleKernel_Args .
Returns
- Vector256<long>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX3_Core(IWVectorTraits256, Vector256<ulong>, Vector256<ulong>, Vector256<ulong>, (Vector256<ulong> args0, Vector256<ulong> args1, Vector256<ulong> args2, Vector256<ulong> args3, Vector256<ulong> args4))
Core calculation for shuffle and clear on 3 vectors (在3个向量上进行换位并清零的核心计算). Its arguments are derived from YShuffleX3_Args (其参数来源于 YShuffleX3_Args).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*3))?( element_ref(indices[i], vector0, vector1, vector2) ):0
.
[CLSCompliant(false)]
public static Vector256<ulong> YShuffleX3_Core(this IWVectorTraits256 athis, Vector256<ulong> vector0, Vector256<ulong> vector1, Vector256<ulong> vector2, (Vector256<ulong> args0, Vector256<ulong> args1, Vector256<ulong> args2, Vector256<ulong> args3, Vector256<ulong> args4) args)
Parameters
athis
IWVectorTraits256vector0
Vector256<ulong>The input vector 0 from which values are selected (从中选择值的输入向量0).
vector1
Vector256<ulong>The input vector 1 from which values are selected (从中选择值的输入向量1).
vector2
Vector256<ulong>The input vector 2 from which values are selected (从中选择值的输入向量2).
args
(Vector256<ulong> args0, Vector256<ulong> args1, Vector256<ulong> args2, Vector256<ulong> args3, Vector256<ulong> args4)The arguments(参数). Derived from YShuffleKernel_Args .