Method YShuffleX4Insert
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
YShuffleX4Insert(Vector512<float>, Vector512<float>, Vector512<float>, Vector512<float>, Vector512<float>, Vector512<int>)
Shuffle and insert on 4 vectors (在4个向量上进行换位并插入) Creates a new vector by selecting values from an input vectors using a set of indices (通过使用一组索引从输入向量集中选择值,来创建一个新向量). If the index value is out of range, the elements of the background vector will be inserted (若索引值超出范围, 会插入背景向量的元素).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*4))?( element_ref(indices[i], vector0, vector1, vector2, vector3) ):back[i]
.
public static Vector512<float> YShuffleX4Insert(Vector512<float> back, Vector512<float> vector0, Vector512<float> vector1, Vector512<float> vector2, Vector512<float> vector3, Vector512<int> indices)
Parameters
back
Vector512<float>The background vector (背景向量).
vector0
Vector512<float>The input vector 0 from which values are selected (从中选择值的输入向量0).
vector1
Vector512<float>The input vector 1 from which values are selected (从中选择值的输入向量1).
vector2
Vector512<float>The input vector 2 from which values are selected (从中选择值的输入向量2).
vector3
Vector512<float>The input vector 3 from which values are selected (从中选择值的输入向量3).
indices
Vector512<int>The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).
Returns
- Vector512<float>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX4Insert(Vector512<double>, Vector512<double>, Vector512<double>, Vector512<double>, Vector512<double>, Vector512<long>)
Shuffle and insert on 4 vectors (在4个向量上进行换位并插入) Creates a new vector by selecting values from an input vectors using a set of indices (通过使用一组索引从输入向量集中选择值,来创建一个新向量). If the index value is out of range, the elements of the background vector will be inserted (若索引值超出范围, 会插入背景向量的元素).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*4))?( element_ref(indices[i], vector0, vector1, vector2, vector3) ):back[i]
.
public static Vector512<double> YShuffleX4Insert(Vector512<double> back, Vector512<double> vector0, Vector512<double> vector1, Vector512<double> vector2, Vector512<double> vector3, Vector512<long> indices)
Parameters
back
Vector512<double>The background vector (背景向量).
vector0
Vector512<double>The input vector 0 from which values are selected (从中选择值的输入向量0).
vector1
Vector512<double>The input vector 1 from which values are selected (从中选择值的输入向量1).
vector2
Vector512<double>The input vector 2 from which values are selected (从中选择值的输入向量2).
vector3
Vector512<double>The input vector 3 from which values are selected (从中选择值的输入向量3).
indices
Vector512<long>The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).
Returns
- Vector512<double>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX4Insert(Vector512<sbyte>, Vector512<sbyte>, Vector512<sbyte>, Vector512<sbyte>, Vector512<sbyte>, Vector512<sbyte>)
Shuffle and insert on 4 vectors (在4个向量上进行换位并插入) Creates a new vector by selecting values from an input vectors using a set of indices (通过使用一组索引从输入向量集中选择值,来创建一个新向量). If the index value is out of range, the elements of the background vector will be inserted (若索引值超出范围, 会插入背景向量的元素).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*4))?( element_ref(indices[i], vector0, vector1, vector2, vector3) ):back[i]
.
[CLSCompliant(false)]
public static Vector512<sbyte> YShuffleX4Insert(Vector512<sbyte> back, Vector512<sbyte> vector0, Vector512<sbyte> vector1, Vector512<sbyte> vector2, Vector512<sbyte> vector3, Vector512<sbyte> indices)
Parameters
back
Vector512<sbyte>The background vector (背景向量).
vector0
Vector512<sbyte>The input vector 0 from which values are selected (从中选择值的输入向量0).
vector1
Vector512<sbyte>The input vector 1 from which values are selected (从中选择值的输入向量1).
vector2
Vector512<sbyte>The input vector 2 from which values are selected (从中选择值的输入向量2).
vector3
Vector512<sbyte>The input vector 3 from which values are selected (从中选择值的输入向量3).
indices
Vector512<sbyte>The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).
Returns
- Vector512<sbyte>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX4Insert(Vector512<byte>, Vector512<byte>, Vector512<byte>, Vector512<byte>, Vector512<byte>, Vector512<byte>)
Shuffle and insert on 4 vectors (在4个向量上进行换位并插入) Creates a new vector by selecting values from an input vectors using a set of indices (通过使用一组索引从输入向量集中选择值,来创建一个新向量). If the index value is out of range, the elements of the background vector will be inserted (若索引值超出范围, 会插入背景向量的元素).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*4))?( element_ref(indices[i], vector0, vector1, vector2, vector3) ):back[i]
.
[CLSCompliant(false)]
public static Vector512<byte> YShuffleX4Insert(Vector512<byte> back, Vector512<byte> vector0, Vector512<byte> vector1, Vector512<byte> vector2, Vector512<byte> vector3, Vector512<byte> indices)
Parameters
back
Vector512<byte>The background vector (背景向量).
vector0
Vector512<byte>The input vector 0 from which values are selected (从中选择值的输入向量0).
vector1
Vector512<byte>The input vector 1 from which values are selected (从中选择值的输入向量1).
vector2
Vector512<byte>The input vector 2 from which values are selected (从中选择值的输入向量2).
vector3
Vector512<byte>The input vector 3 from which values are selected (从中选择值的输入向量3).
indices
Vector512<byte>The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).
Returns
- Vector512<byte>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX4Insert(Vector512<short>, Vector512<short>, Vector512<short>, Vector512<short>, Vector512<short>, Vector512<short>)
Shuffle and insert on 4 vectors (在4个向量上进行换位并插入) Creates a new vector by selecting values from an input vectors using a set of indices (通过使用一组索引从输入向量集中选择值,来创建一个新向量). If the index value is out of range, the elements of the background vector will be inserted (若索引值超出范围, 会插入背景向量的元素).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*4))?( element_ref(indices[i], vector0, vector1, vector2, vector3) ):back[i]
.
[CLSCompliant(false)]
public static Vector512<short> YShuffleX4Insert(Vector512<short> back, Vector512<short> vector0, Vector512<short> vector1, Vector512<short> vector2, Vector512<short> vector3, Vector512<short> indices)
Parameters
back
Vector512<short>The background vector (背景向量).
vector0
Vector512<short>The input vector 0 from which values are selected (从中选择值的输入向量0).
vector1
Vector512<short>The input vector 1 from which values are selected (从中选择值的输入向量1).
vector2
Vector512<short>The input vector 2 from which values are selected (从中选择值的输入向量2).
vector3
Vector512<short>The input vector 3 from which values are selected (从中选择值的输入向量3).
indices
Vector512<short>The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).
Returns
- Vector512<short>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX4Insert(Vector512<ushort>, Vector512<ushort>, Vector512<ushort>, Vector512<ushort>, Vector512<ushort>, Vector512<ushort>)
Shuffle and insert on 4 vectors (在4个向量上进行换位并插入) Creates a new vector by selecting values from an input vectors using a set of indices (通过使用一组索引从输入向量集中选择值,来创建一个新向量). If the index value is out of range, the elements of the background vector will be inserted (若索引值超出范围, 会插入背景向量的元素).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*4))?( element_ref(indices[i], vector0, vector1, vector2, vector3) ):back[i]
.
[CLSCompliant(false)]
public static Vector512<ushort> YShuffleX4Insert(Vector512<ushort> back, Vector512<ushort> vector0, Vector512<ushort> vector1, Vector512<ushort> vector2, Vector512<ushort> vector3, Vector512<ushort> indices)
Parameters
back
Vector512<ushort>The background vector (背景向量).
vector0
Vector512<ushort>The input vector 0 from which values are selected (从中选择值的输入向量0).
vector1
Vector512<ushort>The input vector 1 from which values are selected (从中选择值的输入向量1).
vector2
Vector512<ushort>The input vector 2 from which values are selected (从中选择值的输入向量2).
vector3
Vector512<ushort>The input vector 3 from which values are selected (从中选择值的输入向量3).
indices
Vector512<ushort>The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).
Returns
- Vector512<ushort>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX4Insert(Vector512<int>, Vector512<int>, Vector512<int>, Vector512<int>, Vector512<int>, Vector512<int>)
Shuffle and insert on 4 vectors (在4个向量上进行换位并插入) Creates a new vector by selecting values from an input vectors using a set of indices (通过使用一组索引从输入向量集中选择值,来创建一个新向量). If the index value is out of range, the elements of the background vector will be inserted (若索引值超出范围, 会插入背景向量的元素).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*4))?( element_ref(indices[i], vector0, vector1, vector2, vector3) ):back[i]
.
[CLSCompliant(false)]
public static Vector512<int> YShuffleX4Insert(Vector512<int> back, Vector512<int> vector0, Vector512<int> vector1, Vector512<int> vector2, Vector512<int> vector3, Vector512<int> indices)
Parameters
back
Vector512<int>The background vector (背景向量).
vector0
Vector512<int>The input vector 0 from which values are selected (从中选择值的输入向量0).
vector1
Vector512<int>The input vector 1 from which values are selected (从中选择值的输入向量1).
vector2
Vector512<int>The input vector 2 from which values are selected (从中选择值的输入向量2).
vector3
Vector512<int>The input vector 3 from which values are selected (从中选择值的输入向量3).
indices
Vector512<int>The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).
Returns
- Vector512<int>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX4Insert(Vector512<uint>, Vector512<uint>, Vector512<uint>, Vector512<uint>, Vector512<uint>, Vector512<uint>)
Shuffle and insert on 4 vectors (在4个向量上进行换位并插入) Creates a new vector by selecting values from an input vectors using a set of indices (通过使用一组索引从输入向量集中选择值,来创建一个新向量). If the index value is out of range, the elements of the background vector will be inserted (若索引值超出范围, 会插入背景向量的元素).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*4))?( element_ref(indices[i], vector0, vector1, vector2, vector3) ):back[i]
.
[CLSCompliant(false)]
public static Vector512<uint> YShuffleX4Insert(Vector512<uint> back, Vector512<uint> vector0, Vector512<uint> vector1, Vector512<uint> vector2, Vector512<uint> vector3, Vector512<uint> indices)
Parameters
back
Vector512<uint>The background vector (背景向量).
vector0
Vector512<uint>The input vector 0 from which values are selected (从中选择值的输入向量0).
vector1
Vector512<uint>The input vector 1 from which values are selected (从中选择值的输入向量1).
vector2
Vector512<uint>The input vector 2 from which values are selected (从中选择值的输入向量2).
vector3
Vector512<uint>The input vector 3 from which values are selected (从中选择值的输入向量3).
indices
Vector512<uint>The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).
Returns
- Vector512<uint>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX4Insert(Vector512<long>, Vector512<long>, Vector512<long>, Vector512<long>, Vector512<long>, Vector512<long>)
Shuffle and insert on 4 vectors (在4个向量上进行换位并插入) Creates a new vector by selecting values from an input vectors using a set of indices (通过使用一组索引从输入向量集中选择值,来创建一个新向量). If the index value is out of range, the elements of the background vector will be inserted (若索引值超出范围, 会插入背景向量的元素).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*4))?( element_ref(indices[i], vector0, vector1, vector2, vector3) ):back[i]
.
[CLSCompliant(false)]
public static Vector512<long> YShuffleX4Insert(Vector512<long> back, Vector512<long> vector0, Vector512<long> vector1, Vector512<long> vector2, Vector512<long> vector3, Vector512<long> indices)
Parameters
back
Vector512<long>The background vector (背景向量).
vector0
Vector512<long>The input vector 0 from which values are selected (从中选择值的输入向量0).
vector1
Vector512<long>The input vector 1 from which values are selected (从中选择值的输入向量1).
vector2
Vector512<long>The input vector 2 from which values are selected (从中选择值的输入向量2).
vector3
Vector512<long>The input vector 3 from which values are selected (从中选择值的输入向量3).
indices
Vector512<long>The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).
Returns
- Vector512<long>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also
YShuffleX4Insert(Vector512<ulong>, Vector512<ulong>, Vector512<ulong>, Vector512<ulong>, Vector512<ulong>, Vector512<ulong>)
Shuffle and insert on 4 vectors (在4个向量上进行换位并插入) Creates a new vector by selecting values from an input vectors using a set of indices (通过使用一组索引从输入向量集中选择值,来创建一个新向量). If the index value is out of range, the elements of the background vector will be inserted (若索引值超出范围, 会插入背景向量的元素).
Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*4))?( element_ref(indices[i], vector0, vector1, vector2, vector3) ):back[i]
.
[CLSCompliant(false)]
public static Vector512<ulong> YShuffleX4Insert(Vector512<ulong> back, Vector512<ulong> vector0, Vector512<ulong> vector1, Vector512<ulong> vector2, Vector512<ulong> vector3, Vector512<ulong> indices)
Parameters
back
Vector512<ulong>The background vector (背景向量).
vector0
Vector512<ulong>The input vector 0 from which values are selected (从中选择值的输入向量0).
vector1
Vector512<ulong>The input vector 1 from which values are selected (从中选择值的输入向量1).
vector2
Vector512<ulong>The input vector 2 from which values are selected (从中选择值的输入向量2).
vector3
Vector512<ulong>The input vector 3 from which values are selected (从中选择值的输入向量3).
indices
Vector512<ulong>The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).
Returns
- Vector512<ulong>
A new vector containing the values from input vectors selected by the given
indices
(一个新向量,其中包含给定indices
从输入向量集中选择的值).
- See Also