Method YShuffleKernel_Core
- Namespace
- Zyl.VectorTraits.Impl
- Assembly
- VectorTraits.dll
YShuffleKernel_Core<T, TIdx>(IWVectorTraits512, Vector512<T>, (Vector512<TIdx> args0, Vector512<TIdx> args1))
Core calculation for only shuffle (仅换位的核心计算). Its arguments are derived from YShuffleKernel_Args (其参数来源于 YShuffleKernel_Args).
Mnemonic: rt[i] := vector[indices[i]]
. Conditions: 0<=indices[i] && indices[i]<Count
.
[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 Vector512<T> YShuffleKernel_Core<T, TIdx>(this IWVectorTraits512 athis, Vector512<T> vector, (Vector512<TIdx> args0, Vector512<TIdx> args1) args) where T : struct where TIdx : struct
Parameters
athis
IWVectorTraits512This object.
vector
Vector512<T>The input vector from which values are selected (从中选择值的输入向量).
args
(Vector512<TIdx> args0, Vector512<TIdx> args1)The arguments(参数). Derived from YShuffleKernel_Args .
Returns
- Vector512<T>
A new vector containing the values from
vector
selected by the givenindices
(一个新向量,其中包含给定indices
从vector
中选择的值).
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
YShuffleKernel_Core(IWVectorTraits512, Vector512<float>, (Vector512<int> args0, Vector512<int> args1))
Core calculation for only shuffle (仅换位的核心计算). Its arguments are derived from YShuffleKernel_Args (其参数来源于 YShuffleKernel_Args).
Mnemonic: rt[i] := vector[indices[i]]
. Conditions: 0<=indices[i] && indices[i]<Count
.
[CLSCompliant(false)]
public static Vector512<float> YShuffleKernel_Core(this IWVectorTraits512 athis, Vector512<float> vector, (Vector512<int> args0, Vector512<int> args1) args)
Parameters
athis
IWVectorTraits512vector
Vector512<float>The input vector from which values are selected (从中选择值的输入向量).
args
(Vector512<int> Lower, Vector512<int> Upper)The arguments(参数). Derived from YShuffleKernel_Args .
Returns
- Vector512<float>
A new vector containing the values from
vector
selected by the givenindices
(一个新向量,其中包含给定indices
从vector
中选择的值).
- See Also
YShuffleKernel_Core(IWVectorTraits512, Vector512<double>, (Vector512<long> args0, Vector512<long> args1))
Core calculation for only shuffle (仅换位的核心计算). Its arguments are derived from YShuffleKernel_Args (其参数来源于 YShuffleKernel_Args).
Mnemonic: rt[i] := vector[indices[i]]
. Conditions: 0<=indices[i] && indices[i]<Count
.
[CLSCompliant(false)]
public static Vector512<double> YShuffleKernel_Core(this IWVectorTraits512 athis, Vector512<double> vector, (Vector512<long> args0, Vector512<long> args1) args)
Parameters
athis
IWVectorTraits512vector
Vector512<double>The input vector from which values are selected (从中选择值的输入向量).
args
(Vector512<long> Lower, Vector512<long> Upper)The arguments(参数). Derived from YShuffleKernel_Args .
Returns
- Vector512<double>
A new vector containing the values from
vector
selected by the givenindices
(一个新向量,其中包含给定indices
从vector
中选择的值).
- See Also
YShuffleKernel_Core(IWVectorTraits512, Vector512<sbyte>, (Vector512<sbyte> args0, Vector512<sbyte> args1))
Core calculation for only shuffle (仅换位的核心计算). Its arguments are derived from YShuffleKernel_Args (其参数来源于 YShuffleKernel_Args).
Mnemonic: rt[i] := vector[indices[i]]
. Conditions: 0<=indices[i] && indices[i]<Count
.
[CLSCompliant(false)]
public static Vector512<sbyte> YShuffleKernel_Core(this IWVectorTraits512 athis, Vector512<sbyte> vector, (Vector512<sbyte> args0, Vector512<sbyte> args1) args)
Parameters
athis
IWVectorTraits512vector
Vector512<sbyte>The input vector from which values are selected (从中选择值的输入向量).
args
(Vector512<sbyte> args0, Vector512<sbyte> args1)The arguments(参数). Derived from YShuffleKernel_Args .
Returns
- Vector512<sbyte>
A new vector containing the values from
vector
selected by the givenindices
(一个新向量,其中包含给定indices
从vector
中选择的值).
- See Also
YShuffleKernel_Core(IWVectorTraits512, Vector512<byte>, (Vector512<byte> args0, Vector512<byte> args1))
Core calculation for only shuffle (仅换位的核心计算). Its arguments are derived from YShuffleKernel_Args (其参数来源于 YShuffleKernel_Args).
Mnemonic: rt[i] := vector[indices[i]]
. Conditions: 0<=indices[i] && indices[i]<Count
.
[CLSCompliant(false)]
public static Vector512<byte> YShuffleKernel_Core(this IWVectorTraits512 athis, Vector512<byte> vector, (Vector512<byte> args0, Vector512<byte> args1) args)
Parameters
athis
IWVectorTraits512vector
Vector512<byte>The input vector from which values are selected (从中选择值的输入向量).
args
(Vector512<byte> args0, Vector512<byte> args1)The arguments(参数). Derived from YShuffleKernel_Args .
Returns
- Vector512<byte>
A new vector containing the values from
vector
selected by the givenindices
(一个新向量,其中包含给定indices
从vector
中选择的值).
- See Also
YShuffleKernel_Core(IWVectorTraits512, Vector512<short>, (Vector512<short> args0, Vector512<short> args1))
Core calculation for only shuffle (仅换位的核心计算). Its arguments are derived from YShuffleKernel_Args (其参数来源于 YShuffleKernel_Args).
Mnemonic: rt[i] := vector[indices[i]]
. Conditions: 0<=indices[i] && indices[i]<Count
.
[CLSCompliant(false)]
public static Vector512<short> YShuffleKernel_Core(this IWVectorTraits512 athis, Vector512<short> vector, (Vector512<short> args0, Vector512<short> args1) args)
Parameters
athis
IWVectorTraits512vector
Vector512<short>The input vector from which values are selected (从中选择值的输入向量).
args
(Vector512<short> Lower, Vector512<short> Upper)The arguments(参数). Derived from YShuffleKernel_Args .
Returns
- Vector512<short>
A new vector containing the values from
vector
selected by the givenindices
(一个新向量,其中包含给定indices
从vector
中选择的值).
- See Also
YShuffleKernel_Core(IWVectorTraits512, Vector512<ushort>, (Vector512<ushort> args0, Vector512<ushort> args1))
Core calculation for only shuffle (仅换位的核心计算). Its arguments are derived from YShuffleKernel_Args (其参数来源于 YShuffleKernel_Args).
Mnemonic: rt[i] := vector[indices[i]]
. Conditions: 0<=indices[i] && indices[i]<Count
.
[CLSCompliant(false)]
public static Vector512<ushort> YShuffleKernel_Core(this IWVectorTraits512 athis, Vector512<ushort> vector, (Vector512<ushort> args0, Vector512<ushort> args1) args)
Parameters
athis
IWVectorTraits512vector
Vector512<ushort>The input vector from which values are selected (从中选择值的输入向量).
args
(Vector512<ushort> Lower, Vector512<ushort> Upper)The arguments(参数). Derived from YShuffleKernel_Args .
Returns
- Vector512<ushort>
A new vector containing the values from
vector
selected by the givenindices
(一个新向量,其中包含给定indices
从vector
中选择的值).
- See Also
YShuffleKernel_Core(IWVectorTraits512, Vector512<int>, (Vector512<int> args0, Vector512<int> args1))
Core calculation for only shuffle (仅换位的核心计算). Its arguments are derived from YShuffleKernel_Args (其参数来源于 YShuffleKernel_Args).
Mnemonic: rt[i] := vector[indices[i]]
. Conditions: 0<=indices[i] && indices[i]<Count
.
[CLSCompliant(false)]
public static Vector512<int> YShuffleKernel_Core(this IWVectorTraits512 athis, Vector512<int> vector, (Vector512<int> args0, Vector512<int> args1) args)
Parameters
athis
IWVectorTraits512vector
Vector512<int>The input vector from which values are selected (从中选择值的输入向量).
args
(Vector512<int> Lower, Vector512<int> Upper)The arguments(参数). Derived from YShuffleKernel_Args .
Returns
- Vector512<int>
A new vector containing the values from
vector
selected by the givenindices
(一个新向量,其中包含给定indices
从vector
中选择的值).
- See Also
YShuffleKernel_Core(IWVectorTraits512, Vector512<uint>, (Vector512<uint> args0, Vector512<uint> args1))
Core calculation for only shuffle (仅换位的核心计算). Its arguments are derived from YShuffleKernel_Args (其参数来源于 YShuffleKernel_Args).
Mnemonic: rt[i] := vector[indices[i]]
. Conditions: 0<=indices[i] && indices[i]<Count
.
[CLSCompliant(false)]
public static Vector512<uint> YShuffleKernel_Core(this IWVectorTraits512 athis, Vector512<uint> vector, (Vector512<uint> args0, Vector512<uint> args1) args)
Parameters
athis
IWVectorTraits512vector
Vector512<uint>The input vector from which values are selected (从中选择值的输入向量).
args
(Vector512<uint> Lower, Vector512<uint> Upper)The arguments(参数). Derived from YShuffleKernel_Args .
Returns
- Vector512<uint>
A new vector containing the values from
vector
selected by the givenindices
(一个新向量,其中包含给定indices
从vector
中选择的值).
- See Also
YShuffleKernel_Core(IWVectorTraits512, Vector512<long>, (Vector512<long> args0, Vector512<long> args1))
Core calculation for only shuffle (仅换位的核心计算). Its arguments are derived from YShuffleKernel_Args (其参数来源于 YShuffleKernel_Args).
Mnemonic: rt[i] := vector[indices[i]]
. Conditions: 0<=indices[i] && indices[i]<Count
.
[CLSCompliant(false)]
public static Vector512<long> YShuffleKernel_Core(this IWVectorTraits512 athis, Vector512<long> vector, (Vector512<long> args0, Vector512<long> args1) args)
Parameters
athis
IWVectorTraits512vector
Vector512<long>The input vector from which values are selected (从中选择值的输入向量).
args
(Vector512<long> Lower, Vector512<long> Upper)The arguments(参数). Derived from YShuffleKernel_Args .
Returns
- Vector512<long>
A new vector containing the values from
vector
selected by the givenindices
(一个新向量,其中包含给定indices
从vector
中选择的值).
- See Also
YShuffleKernel_Core(IWVectorTraits512, Vector512<ulong>, (Vector512<ulong> args0, Vector512<ulong> args1))
Core calculation for only shuffle (仅换位的核心计算). Its arguments are derived from YShuffleKernel_Args (其参数来源于 YShuffleKernel_Args).
Mnemonic: rt[i] := vector[indices[i]]
. Conditions: 0<=indices[i] && indices[i]<Count
.
[CLSCompliant(false)]
public static Vector512<ulong> YShuffleKernel_Core(this IWVectorTraits512 athis, Vector512<ulong> vector, (Vector512<ulong> args0, Vector512<ulong> args1) args)
Parameters
athis
IWVectorTraits512vector
Vector512<ulong>The input vector from which values are selected (从中选择值的输入向量).
args
(Vector512<ulong> Lower, Vector512<ulong> Upper)The arguments(参数). Derived from YShuffleKernel_Args .
Returns
- Vector512<ulong>
A new vector containing the values from
vector
selected by the givenindices
(一个新向量,其中包含给定indices
从vector
中选择的值).
- See Also