Method YShuffleX2_Core
- Namespace
- Zyl.VectorTraits.Impl
- Assembly
- VectorTraits.dll
YShuffleX2_Core(Vector256<float>, Vector256<float>, Vector256<int>, Vector256<int>, Vector256<int>, Vector256<int>, Vector256<int>)
Core calculation for shuffle and clear on 2 vectors (在2个向量上进行换位并清零的核心计算). Its arguments are derived from YShuffleX2_Args (其参数来源于 YShuffleX2_Args).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*2))?( element_ref(indices[i], vector0, vector1) ):0
.
Vector256<float> YShuffleX2_Core(Vector256<float> vector0, Vector256<float> vector1, Vector256<int> args0, Vector256<int> args1, Vector256<int> args2, Vector256<int> args3, Vector256<int> args4)
Parameters
vector0
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).
args0
Vector256<int>Arguments 0 (参数0). Derived from YShuffleX2_Args .
args1
Vector256<int>Arguments 1 (参数1). Derived from YShuffleX2_Args .
args2
Vector256<int>Arguments 2 (参数2). Derived from YShuffleX2_Args .
args3
Vector256<int>Arguments 3 (参数3). Derived from YShuffleX2_Args .
args4
Vector256<int>Arguments 4 (参数4). Derived from YShuffleX2_Args .
Returns
- Vector256<float>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX2_Core(Vector256<double>, Vector256<double>, Vector256<long>, Vector256<long>, Vector256<long>, Vector256<long>, Vector256<long>)
Core calculation for shuffle and clear on 2 vectors (在2个向量上进行换位并清零的核心计算). Its arguments are derived from YShuffleX2_Args (其参数来源于 YShuffleX2_Args).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*2))?( element_ref(indices[i], vector0, vector1) ):0
.
Vector256<double> YShuffleX2_Core(Vector256<double> vector0, Vector256<double> vector1, Vector256<long> args0, Vector256<long> args1, Vector256<long> args2, Vector256<long> args3, Vector256<long> args4)
Parameters
vector0
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).
args0
Vector256<long>Arguments 0 (参数0). Derived from YShuffleX2_Args .
args1
Vector256<long>Arguments 1 (参数1). Derived from YShuffleX2_Args .
args2
Vector256<long>Arguments 2 (参数2). Derived from YShuffleX2_Args .
args3
Vector256<long>Arguments 3 (参数3). Derived from YShuffleX2_Args .
args4
Vector256<long>Arguments 4 (参数4). Derived from YShuffleX2_Args .
Returns
- Vector256<double>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX2_Core(Vector256<sbyte>, Vector256<sbyte>, Vector256<sbyte>, Vector256<sbyte>, Vector256<sbyte>, Vector256<sbyte>, Vector256<sbyte>)
Core calculation for shuffle and clear on 2 vectors (在2个向量上进行换位并清零的核心计算). Its arguments are derived from YShuffleX2_Args (其参数来源于 YShuffleX2_Args).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*2))?( element_ref(indices[i], vector0, vector1) ):0
.
Vector256<sbyte> YShuffleX2_Core(Vector256<sbyte> vector0, Vector256<sbyte> vector1, Vector256<sbyte> args0, Vector256<sbyte> args1, Vector256<sbyte> args2, Vector256<sbyte> args3, Vector256<sbyte> args4)
Parameters
vector0
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).
args0
Vector256<sbyte>Arguments 0 (参数0). Derived from YShuffleX2_Args .
args1
Vector256<sbyte>Arguments 1 (参数1). Derived from YShuffleX2_Args .
args2
Vector256<sbyte>Arguments 2 (参数2). Derived from YShuffleX2_Args .
args3
Vector256<sbyte>Arguments 3 (参数3). Derived from YShuffleX2_Args .
args4
Vector256<sbyte>Arguments 4 (参数4). Derived from YShuffleX2_Args .
Returns
- Vector256<sbyte>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX2_Core(Vector256<byte>, Vector256<byte>, Vector256<byte>, Vector256<byte>, Vector256<byte>, Vector256<byte>, Vector256<byte>)
Core calculation for shuffle and clear on 2 vectors (在2个向量上进行换位并清零的核心计算). Its arguments are derived from YShuffleX2_Args (其参数来源于 YShuffleX2_Args).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*2))?( element_ref(indices[i], vector0, vector1) ):0
.
Vector256<byte> YShuffleX2_Core(Vector256<byte> vector0, Vector256<byte> vector1, Vector256<byte> args0, Vector256<byte> args1, Vector256<byte> args2, Vector256<byte> args3, Vector256<byte> args4)
Parameters
vector0
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).
args0
Vector256<byte>Arguments 0 (参数0). Derived from YShuffleX2_Args .
args1
Vector256<byte>Arguments 1 (参数1). Derived from YShuffleX2_Args .
args2
Vector256<byte>Arguments 2 (参数2). Derived from YShuffleX2_Args .
args3
Vector256<byte>Arguments 3 (参数3). Derived from YShuffleX2_Args .
args4
Vector256<byte>Arguments 4 (参数4). Derived from YShuffleX2_Args .
Returns
- Vector256<byte>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX2_Core(Vector256<short>, Vector256<short>, Vector256<short>, Vector256<short>, Vector256<short>, Vector256<short>, Vector256<short>)
Core calculation for shuffle and clear on 2 vectors (在2个向量上进行换位并清零的核心计算). Its arguments are derived from YShuffleX2_Args (其参数来源于 YShuffleX2_Args).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*2))?( element_ref(indices[i], vector0, vector1) ):0
.
Vector256<short> YShuffleX2_Core(Vector256<short> vector0, Vector256<short> vector1, Vector256<short> args0, Vector256<short> args1, Vector256<short> args2, Vector256<short> args3, Vector256<short> args4)
Parameters
vector0
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).
args0
Vector256<short>Arguments 0 (参数0). Derived from YShuffleX2_Args .
args1
Vector256<short>Arguments 1 (参数1). Derived from YShuffleX2_Args .
args2
Vector256<short>Arguments 2 (参数2). Derived from YShuffleX2_Args .
args3
Vector256<short>Arguments 3 (参数3). Derived from YShuffleX2_Args .
args4
Vector256<short>Arguments 4 (参数4). Derived from YShuffleX2_Args .
Returns
- Vector256<short>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX2_Core(Vector256<ushort>, Vector256<ushort>, Vector256<ushort>, Vector256<ushort>, Vector256<ushort>, Vector256<ushort>, Vector256<ushort>)
Core calculation for shuffle and clear on 2 vectors (在2个向量上进行换位并清零的核心计算). Its arguments are derived from YShuffleX2_Args (其参数来源于 YShuffleX2_Args).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*2))?( element_ref(indices[i], vector0, vector1) ):0
.
Vector256<ushort> YShuffleX2_Core(Vector256<ushort> vector0, Vector256<ushort> vector1, Vector256<ushort> args0, Vector256<ushort> args1, Vector256<ushort> args2, Vector256<ushort> args3, Vector256<ushort> args4)
Parameters
vector0
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).
args0
Vector256<ushort>Arguments 0 (参数0). Derived from YShuffleX2_Args .
args1
Vector256<ushort>Arguments 1 (参数1). Derived from YShuffleX2_Args .
args2
Vector256<ushort>Arguments 2 (参数2). Derived from YShuffleX2_Args .
args3
Vector256<ushort>Arguments 3 (参数3). Derived from YShuffleX2_Args .
args4
Vector256<ushort>Arguments 4 (参数4). Derived from YShuffleX2_Args .
Returns
- Vector256<ushort>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX2_Core(Vector256<int>, Vector256<int>, Vector256<int>, Vector256<int>, Vector256<int>, Vector256<int>, Vector256<int>)
Core calculation for shuffle and clear on 2 vectors (在2个向量上进行换位并清零的核心计算). Its arguments are derived from YShuffleX2_Args (其参数来源于 YShuffleX2_Args).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*2))?( element_ref(indices[i], vector0, vector1) ):0
.
Vector256<int> YShuffleX2_Core(Vector256<int> vector0, Vector256<int> vector1, Vector256<int> args0, Vector256<int> args1, Vector256<int> args2, Vector256<int> args3, Vector256<int> args4)
Parameters
vector0
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).
args0
Vector256<int>Arguments 0 (参数0). Derived from YShuffleX2_Args .
args1
Vector256<int>Arguments 1 (参数1). Derived from YShuffleX2_Args .
args2
Vector256<int>Arguments 2 (参数2). Derived from YShuffleX2_Args .
args3
Vector256<int>Arguments 3 (参数3). Derived from YShuffleX2_Args .
args4
Vector256<int>Arguments 4 (参数4). Derived from YShuffleX2_Args .
Returns
- Vector256<int>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX2_Core(Vector256<uint>, Vector256<uint>, Vector256<uint>, Vector256<uint>, Vector256<uint>, Vector256<uint>, Vector256<uint>)
Core calculation for shuffle and clear on 2 vectors (在2个向量上进行换位并清零的核心计算). Its arguments are derived from YShuffleX2_Args (其参数来源于 YShuffleX2_Args).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*2))?( element_ref(indices[i], vector0, vector1) ):0
.
Vector256<uint> YShuffleX2_Core(Vector256<uint> vector0, Vector256<uint> vector1, Vector256<uint> args0, Vector256<uint> args1, Vector256<uint> args2, Vector256<uint> args3, Vector256<uint> args4)
Parameters
vector0
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).
args0
Vector256<uint>Arguments 0 (参数0). Derived from YShuffleX2_Args .
args1
Vector256<uint>Arguments 1 (参数1). Derived from YShuffleX2_Args .
args2
Vector256<uint>Arguments 2 (参数2). Derived from YShuffleX2_Args .
args3
Vector256<uint>Arguments 3 (参数3). Derived from YShuffleX2_Args .
args4
Vector256<uint>Arguments 4 (参数4). Derived from YShuffleX2_Args .
Returns
- Vector256<uint>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX2_Core(Vector256<long>, Vector256<long>, Vector256<long>, Vector256<long>, Vector256<long>, Vector256<long>, Vector256<long>)
Core calculation for shuffle and clear on 2 vectors (在2个向量上进行换位并清零的核心计算). Its arguments are derived from YShuffleX2_Args (其参数来源于 YShuffleX2_Args).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*2))?( element_ref(indices[i], vector0, vector1) ):0
.
Vector256<long> YShuffleX2_Core(Vector256<long> vector0, Vector256<long> vector1, Vector256<long> args0, Vector256<long> args1, Vector256<long> args2, Vector256<long> args3, Vector256<long> args4)
Parameters
vector0
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).
args0
Vector256<long>Arguments 0 (参数0). Derived from YShuffleX2_Args .
args1
Vector256<long>Arguments 1 (参数1). Derived from YShuffleX2_Args .
args2
Vector256<long>Arguments 2 (参数2). Derived from YShuffleX2_Args .
args3
Vector256<long>Arguments 3 (参数3). Derived from YShuffleX2_Args .
args4
Vector256<long>Arguments 4 (参数4). Derived from YShuffleX2_Args .
Returns
- Vector256<long>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX2_Core(Vector256<ulong>, Vector256<ulong>, Vector256<ulong>, Vector256<ulong>, Vector256<ulong>, Vector256<ulong>, Vector256<ulong>)
Core calculation for shuffle and clear on 2 vectors (在2个向量上进行换位并清零的核心计算). Its arguments are derived from YShuffleX2_Args (其参数来源于 YShuffleX2_Args).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*2))?( element_ref(indices[i], vector0, vector1) ):0
.
Vector256<ulong> YShuffleX2_Core(Vector256<ulong> vector0, Vector256<ulong> vector1, Vector256<ulong> args0, Vector256<ulong> args1, Vector256<ulong> args2, Vector256<ulong> args3, Vector256<ulong> args4)
Parameters
vector0
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).
args0
Vector256<ulong>Arguments 0 (参数0). Derived from YShuffleX2_Args .
args1
Vector256<ulong>Arguments 1 (参数1). Derived from YShuffleX2_Args .
args2
Vector256<ulong>Arguments 2 (参数2). Derived from YShuffleX2_Args .
args3
Vector256<ulong>Arguments 3 (参数3). Derived from YShuffleX2_Args .
args4
Vector256<ulong>Arguments 4 (参数4). Derived from YShuffleX2_Args .