Method YShuffleKernel
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
YShuffleKernel(Vector512<float>, Vector512<int>)
Only shuffle (仅换位). Creates a new vector by selecting values from an input vector using a set of indices (通过使用一组索引从输入向量中选择值,来创建一个新向量). 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
.
public static Vector512<float> YShuffleKernel(Vector512<float> vector, Vector512<int> indices)
Parameters
vector
Vector512<float>The input vector from which values are selected (从中选择值的输入向量).
indices
Vector512<int>The per-element indices used to select a value from
vector
(用于从vector
中选择值的每个元素索引).
Returns
- Vector512<float>
A new vector containing the values from
vector
selected by the givenindices
(一个新向量,其中包含给定indices
从vector
中选择的值).
- See Also
YShuffleKernel(Vector512<double>, Vector512<long>)
Only shuffle (仅换位). Creates a new vector by selecting values from an input vector using a set of indices (通过使用一组索引从输入向量中选择值,来创建一个新向量). 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
.
public static Vector512<double> YShuffleKernel(Vector512<double> vector, Vector512<long> indices)
Parameters
vector
Vector512<double>The input vector from which values are selected (从中选择值的输入向量).
indices
Vector512<long>The per-element indices used to select a value from
vector
(用于从vector
中选择值的每个元素索引).
Returns
- Vector512<double>
A new vector containing the values from
vector
selected by the givenindices
(一个新向量,其中包含给定indices
从vector
中选择的值).
- See Also
YShuffleKernel(Vector512<sbyte>, Vector512<sbyte>)
Only shuffle (仅换位). Creates a new vector by selecting values from an input vector using a set of indices (通过使用一组索引从输入向量中选择值,来创建一个新向量). 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 Vector512<sbyte> YShuffleKernel(Vector512<sbyte> vector, Vector512<sbyte> indices)
Parameters
vector
Vector512<sbyte>The input vector from which values are selected (从中选择值的输入向量).
indices
Vector512<sbyte>The per-element indices used to select a value from
vector
(用于从vector
中选择值的每个元素索引).
Returns
- Vector512<sbyte>
A new vector containing the values from
vector
selected by the givenindices
(一个新向量,其中包含给定indices
从vector
中选择的值).
- See Also
YShuffleKernel(Vector512<byte>, Vector512<byte>)
Only shuffle (仅换位). Creates a new vector by selecting values from an input vector using a set of indices (通过使用一组索引从输入向量中选择值,来创建一个新向量). 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
.
public static Vector512<byte> YShuffleKernel(Vector512<byte> vector, Vector512<byte> indices)
Parameters
vector
Vector512<byte>The input vector from which values are selected (从中选择值的输入向量).
indices
Vector512<byte>The per-element indices used to select a value from
vector
(用于从vector
中选择值的每个元素索引).
Returns
- Vector512<byte>
A new vector containing the values from
vector
selected by the givenindices
(一个新向量,其中包含给定indices
从vector
中选择的值).
- See Also
YShuffleKernel(Vector512<short>, Vector512<short>)
Only shuffle (仅换位). Creates a new vector by selecting values from an input vector using a set of indices (通过使用一组索引从输入向量中选择值,来创建一个新向量). 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
.
public static Vector512<short> YShuffleKernel(Vector512<short> vector, Vector512<short> indices)
Parameters
vector
Vector512<short>The input vector from which values are selected (从中选择值的输入向量).
indices
Vector512<short>The per-element indices used to select a value from
vector
(用于从vector
中选择值的每个元素索引).
Returns
- Vector512<short>
A new vector containing the values from
vector
selected by the givenindices
(一个新向量,其中包含给定indices
从vector
中选择的值).
- See Also
YShuffleKernel(Vector512<ushort>, Vector512<ushort>)
Only shuffle (仅换位). Creates a new vector by selecting values from an input vector using a set of indices (通过使用一组索引从输入向量中选择值,来创建一个新向量). 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 Vector512<ushort> YShuffleKernel(Vector512<ushort> vector, Vector512<ushort> indices)
Parameters
vector
Vector512<ushort>The input vector from which values are selected (从中选择值的输入向量).
indices
Vector512<ushort>The per-element indices used to select a value from
vector
(用于从vector
中选择值的每个元素索引).
Returns
- Vector512<ushort>
A new vector containing the values from
vector
selected by the givenindices
(一个新向量,其中包含给定indices
从vector
中选择的值).
- See Also
YShuffleKernel(Vector512<int>, Vector512<int>)
Only shuffle (仅换位). Creates a new vector by selecting values from an input vector using a set of indices (通过使用一组索引从输入向量中选择值,来创建一个新向量). 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
.
public static Vector512<int> YShuffleKernel(Vector512<int> vector, Vector512<int> indices)
Parameters
vector
Vector512<int>The input vector from which values are selected (从中选择值的输入向量).
indices
Vector512<int>The per-element indices used to select a value from
vector
(用于从vector
中选择值的每个元素索引).
Returns
- Vector512<int>
A new vector containing the values from
vector
selected by the givenindices
(一个新向量,其中包含给定indices
从vector
中选择的值).
- See Also
YShuffleKernel(Vector512<uint>, Vector512<uint>)
Only shuffle (仅换位). Creates a new vector by selecting values from an input vector using a set of indices (通过使用一组索引从输入向量中选择值,来创建一个新向量). 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 Vector512<uint> YShuffleKernel(Vector512<uint> vector, Vector512<uint> indices)
Parameters
vector
Vector512<uint>The input vector from which values are selected (从中选择值的输入向量).
indices
Vector512<uint>The per-element indices used to select a value from
vector
(用于从vector
中选择值的每个元素索引).
Returns
- Vector512<uint>
A new vector containing the values from
vector
selected by the givenindices
(一个新向量,其中包含给定indices
从vector
中选择的值).
- See Also
YShuffleKernel(Vector512<long>, Vector512<long>)
Only shuffle (仅换位). Creates a new vector by selecting values from an input vector using a set of indices (通过使用一组索引从输入向量中选择值,来创建一个新向量). 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
.
public static Vector512<long> YShuffleKernel(Vector512<long> vector, Vector512<long> indices)
Parameters
vector
Vector512<long>The input vector from which values are selected (从中选择值的输入向量).
indices
Vector512<long>The per-element indices used to select a value from
vector
(用于从vector
中选择值的每个元素索引).
Returns
- Vector512<long>
A new vector containing the values from
vector
selected by the givenindices
(一个新向量,其中包含给定indices
从vector
中选择的值).
- See Also
YShuffleKernel(Vector512<ulong>, Vector512<ulong>)
Only shuffle (仅换位). Creates a new vector by selecting values from an input vector using a set of indices (通过使用一组索引从输入向量中选择值,来创建一个新向量). 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 Vector512<ulong> YShuffleKernel(Vector512<ulong> vector, Vector512<ulong> indices)
Parameters
vector
Vector512<ulong>The input vector from which values are selected (从中选择值的输入向量).
indices
Vector512<ulong>The per-element indices used to select a value from
vector
(用于从vector
中选择值的每个元素索引).
Returns
- Vector512<ulong>
A new vector containing the values from
vector
selected by the givenindices
(一个新向量,其中包含给定indices
从vector
中选择的值).
- See Also