Method YShuffleG2_Basic
- Namespace
 - Zyl.VectorTraits.Impl.AVector512
 
- Assembly
 - VectorTraits.dll
 
YShuffleG2_Basic(Vector512<float>, ShuffleControlG2)
For each 2-element group in a vector, shuffle is performed (对于一个向量中的每个 2-元素组, 进行换位).
Mnemonic: View for group: rt.xy = shuffleG2_ref(control, source). View for element: rt[i] := source[(i&(~1)) | ((control >> (i&1)) & 1)].
public static Vector512<float> YShuffleG2_Basic(Vector512<float> source, ShuffleControlG2 control)
Parameters
sourceVector512<float>The input source from which values are selected (从中选择值的输入向量).
controlShuffleControlG2Shuffle control code (换位控制码).
Returns
- Vector512<float>
 A new source containing the values from
sourceselected by the givencontrol(一个新向量,其中包含给定control从source中选择的值).
- See Also
 
YShuffleG2_Basic(Vector512<double>, ShuffleControlG2)
For each 2-element group in a vector, shuffle is performed (对于一个向量中的每个 2-元素组, 进行换位).
Mnemonic: View for group: rt.xy = shuffleG2_ref(control, source). View for element: rt[i] := source[(i&(~1)) | ((control >> (i&1)) & 1)].
public static Vector512<double> YShuffleG2_Basic(Vector512<double> source, ShuffleControlG2 control)
Parameters
sourceVector512<double>The input source from which values are selected (从中选择值的输入向量).
controlShuffleControlG2Shuffle control code (换位控制码).
Returns
- Vector512<double>
 A new source containing the values from
sourceselected by the givencontrol(一个新向量,其中包含给定control从source中选择的值).
- See Also
 
YShuffleG2_Basic(Vector512<sbyte>, ShuffleControlG2)
For each 2-element group in a vector, shuffle is performed (对于一个向量中的每个 2-元素组, 进行换位).
Mnemonic: View for group: rt.xy = shuffleG2_ref(control, source). View for element: rt[i] := source[(i&(~1)) | ((control >> (i&1)) & 1)].
[CLSCompliant(false)]
public static Vector512<sbyte> YShuffleG2_Basic(Vector512<sbyte> source, ShuffleControlG2 control)
Parameters
sourceVector512<sbyte>The input source from which values are selected (从中选择值的输入向量).
controlShuffleControlG2Shuffle control code (换位控制码).
Returns
- Vector512<sbyte>
 A new source containing the values from
sourceselected by the givencontrol(一个新向量,其中包含给定control从source中选择的值).
- See Also
 
YShuffleG2_Basic(Vector512<byte>, ShuffleControlG2)
For each 2-element group in a vector, shuffle is performed (对于一个向量中的每个 2-元素组, 进行换位).
Mnemonic: View for group: rt.xy = shuffleG2_ref(control, source). View for element: rt[i] := source[(i&(~1)) | ((control >> (i&1)) & 1)].
public static Vector512<byte> YShuffleG2_Basic(Vector512<byte> source, ShuffleControlG2 control)
Parameters
sourceVector512<byte>The input source from which values are selected (从中选择值的输入向量).
controlShuffleControlG2Shuffle control code (换位控制码).
Returns
- Vector512<byte>
 A new source containing the values from
sourceselected by the givencontrol(一个新向量,其中包含给定control从source中选择的值).
- See Also
 
YShuffleG2_Basic(Vector512<short>, ShuffleControlG2)
For each 2-element group in a vector, shuffle is performed (对于一个向量中的每个 2-元素组, 进行换位).
Mnemonic: View for group: rt.xy = shuffleG2_ref(control, source). View for element: rt[i] := source[(i&(~1)) | ((control >> (i&1)) & 1)].
public static Vector512<short> YShuffleG2_Basic(Vector512<short> source, ShuffleControlG2 control)
Parameters
sourceVector512<short>The input source from which values are selected (从中选择值的输入向量).
controlShuffleControlG2Shuffle control code (换位控制码).
Returns
- Vector512<short>
 A new source containing the values from
sourceselected by the givencontrol(一个新向量,其中包含给定control从source中选择的值).
- See Also
 
YShuffleG2_Basic(Vector512<ushort>, ShuffleControlG2)
For each 2-element group in a vector, shuffle is performed (对于一个向量中的每个 2-元素组, 进行换位).
Mnemonic: View for group: rt.xy = shuffleG2_ref(control, source). View for element: rt[i] := source[(i&(~1)) | ((control >> (i&1)) & 1)].
[CLSCompliant(false)]
public static Vector512<ushort> YShuffleG2_Basic(Vector512<ushort> source, ShuffleControlG2 control)
Parameters
sourceVector512<ushort>The input source from which values are selected (从中选择值的输入向量).
controlShuffleControlG2Shuffle control code (换位控制码).
Returns
- Vector512<ushort>
 A new source containing the values from
sourceselected by the givencontrol(一个新向量,其中包含给定control从source中选择的值).
- See Also
 
YShuffleG2_Basic(Vector512<int>, ShuffleControlG2)
For each 2-element group in a vector, shuffle is performed (对于一个向量中的每个 2-元素组, 进行换位).
Mnemonic: View for group: rt.xy = shuffleG2_ref(control, source). View for element: rt[i] := source[(i&(~1)) | ((control >> (i&1)) & 1)].
public static Vector512<int> YShuffleG2_Basic(Vector512<int> source, ShuffleControlG2 control)
Parameters
sourceVector512<int>The input source from which values are selected (从中选择值的输入向量).
controlShuffleControlG2Shuffle control code (换位控制码).
Returns
- Vector512<int>
 A new source containing the values from
sourceselected by the givencontrol(一个新向量,其中包含给定control从source中选择的值).
- See Also
 
YShuffleG2_Basic(Vector512<uint>, ShuffleControlG2)
For each 2-element group in a vector, shuffle is performed (对于一个向量中的每个 2-元素组, 进行换位).
Mnemonic: View for group: rt.xy = shuffleG2_ref(control, source). View for element: rt[i] := source[(i&(~1)) | ((control >> (i&1)) & 1)].
[CLSCompliant(false)]
public static Vector512<uint> YShuffleG2_Basic(Vector512<uint> source, ShuffleControlG2 control)
Parameters
sourceVector512<uint>The input source from which values are selected (从中选择值的输入向量).
controlShuffleControlG2Shuffle control code (换位控制码).
Returns
- Vector512<uint>
 A new source containing the values from
sourceselected by the givencontrol(一个新向量,其中包含给定control从source中选择的值).
- See Also
 
YShuffleG2_Basic(Vector512<long>, ShuffleControlG2)
For each 2-element group in a vector, shuffle is performed (对于一个向量中的每个 2-元素组, 进行换位).
Mnemonic: View for group: rt.xy = shuffleG2_ref(control, source). View for element: rt[i] := source[(i&(~1)) | ((control >> (i&1)) & 1)].
public static Vector512<long> YShuffleG2_Basic(Vector512<long> source, ShuffleControlG2 control)
Parameters
sourceVector512<long>The input source from which values are selected (从中选择值的输入向量).
controlShuffleControlG2Shuffle control code (换位控制码).
Returns
- Vector512<long>
 A new source containing the values from
sourceselected by the givencontrol(一个新向量,其中包含给定control从source中选择的值).
- See Also
 
YShuffleG2_Basic(Vector512<ulong>, ShuffleControlG2)
For each 2-element group in a vector, shuffle is performed (对于一个向量中的每个 2-元素组, 进行换位).
Mnemonic: View for group: rt.xy = shuffleG2_ref(control, source). View for element: rt[i] := source[(i&(~1)) | ((control >> (i&1)) & 1)].
[CLSCompliant(false)]
public static Vector512<ulong> YShuffleG2_Basic(Vector512<ulong> source, ShuffleControlG2 control)
Parameters
sourceVector512<ulong>The input source from which values are selected (从中选择值的输入向量).
controlShuffleControlG2Shuffle control code (换位控制码).
Returns
- Vector512<ulong>
 A new source containing the values from
sourceselected by the givencontrol(一个新向量,其中包含给定control从source中选择的值).
- See Also