Edit

Share via


Vector128.Shuffle Method

Definition

Overloads

Shuffle(Vector128<UInt64>, Vector128<UInt64>)

Creates a new vector by selecting values from an input vector using a set of indices.

Shuffle(Vector128<UInt32>, Vector128<UInt32>)

Creates a new vector by selecting values from an input vector using a set of indices.

Shuffle(Vector128<UInt16>, Vector128<UInt16>)

Creates a new vector by selecting values from an input vector using a set of indices.

Shuffle(Vector128<Single>, Vector128<Int32>)

Creates a new vector by selecting values from an input vector using a set of indices.

Shuffle(Vector128<SByte>, Vector128<SByte>)

Creates a new vector by selecting values from an input vector using a set of indices.

Shuffle(Vector128<Int32>, Vector128<Int32>)

Creates a new vector by selecting values from an input vector using a set of indices.

Shuffle(Vector128<Int16>, Vector128<Int16>)

Creates a new vector by selecting values from an input vector using a set of indices.

Shuffle(Vector128<Double>, Vector128<Int64>)

Creates a new vector by selecting values from an input vector using a set of indices.

Shuffle(Vector128<Byte>, Vector128<Byte>)

Creates a new vector by selecting values from an input vector using a set of indices.

Shuffle(Vector128<Int64>, Vector128<Int64>)

Creates a new vector by selecting values from an input vector using a set of indices.

Shuffle(Vector128<UInt64>, Vector128<UInt64>)

Source:
Vector128.cs
Source:
Vector128.cs
Source:
Vector128.cs

Important

This API is not CLS-compliant.

Creates a new vector by selecting values from an input vector using a set of indices.

public:
 static System::Runtime::Intrinsics::Vector128<System::UInt64> Shuffle(System::Runtime::Intrinsics::Vector128<System::UInt64> vector, System::Runtime::Intrinsics::Vector128<System::UInt64> indices);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<ulong> Shuffle (System.Runtime.Intrinsics.Vector128<ulong> vector, System.Runtime.Intrinsics.Vector128<ulong> indices);
[<System.CLSCompliant(false)>]
static member Shuffle : System.Runtime.Intrinsics.Vector128<uint64> * System.Runtime.Intrinsics.Vector128<uint64> -> System.Runtime.Intrinsics.Vector128<uint64>
Public Function Shuffle (vector As Vector128(Of ULong), indices As Vector128(Of ULong)) As Vector128(Of ULong)

Parameters

vector
Vector128<UInt64>

The input vector from which values are selected.

indices
Vector128<UInt64>

The per-element indices used to select a value from vector.

Returns

A new vector containing the values from vector selected by the given indices.

Attributes

Applies to

Shuffle(Vector128<UInt32>, Vector128<UInt32>)

Source:
Vector128.cs
Source:
Vector128.cs
Source:
Vector128.cs

Important

This API is not CLS-compliant.

Creates a new vector by selecting values from an input vector using a set of indices.

public:
 static System::Runtime::Intrinsics::Vector128<System::UInt32> Shuffle(System::Runtime::Intrinsics::Vector128<System::UInt32> vector, System::Runtime::Intrinsics::Vector128<System::UInt32> indices);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<uint> Shuffle (System.Runtime.Intrinsics.Vector128<uint> vector, System.Runtime.Intrinsics.Vector128<uint> indices);
[<System.CLSCompliant(false)>]
static member Shuffle : System.Runtime.Intrinsics.Vector128<uint32> * System.Runtime.Intrinsics.Vector128<uint32> -> System.Runtime.Intrinsics.Vector128<uint32>
Public Function Shuffle (vector As Vector128(Of UInteger), indices As Vector128(Of UInteger)) As Vector128(Of UInteger)

Parameters

vector
Vector128<UInt32>

The input vector from which values are selected.

indices
Vector128<UInt32>

The per-element indices used to select a value from vector.

Returns

A new vector containing the values from vector selected by the given indices.

Attributes

Applies to

Shuffle(Vector128<UInt16>, Vector128<UInt16>)

Source:
Vector128.cs
Source:
Vector128.cs
Source:
Vector128.cs

Important

This API is not CLS-compliant.

Creates a new vector by selecting values from an input vector using a set of indices.

public:
 static System::Runtime::Intrinsics::Vector128<System::UInt16> Shuffle(System::Runtime::Intrinsics::Vector128<System::UInt16> vector, System::Runtime::Intrinsics::Vector128<System::UInt16> indices);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<ushort> Shuffle (System.Runtime.Intrinsics.Vector128<ushort> vector, System.Runtime.Intrinsics.Vector128<ushort> indices);
[<System.CLSCompliant(false)>]
static member Shuffle : System.Runtime.Intrinsics.Vector128<uint16> * System.Runtime.Intrinsics.Vector128<uint16> -> System.Runtime.Intrinsics.Vector128<uint16>
Public Function Shuffle (vector As Vector128(Of UShort), indices As Vector128(Of UShort)) As Vector128(Of UShort)

Parameters

vector
Vector128<UInt16>

The input vector from which values are selected.

indices
Vector128<UInt16>

The per-element indices used to select a value from vector.

Returns

A new vector containing the values from vector selected by the given indices.

Attributes

Applies to

Shuffle(Vector128<Single>, Vector128<Int32>)

Source:
Vector128.cs
Source:
Vector128.cs
Source:
Vector128.cs

Creates a new vector by selecting values from an input vector using a set of indices.

public:
 static System::Runtime::Intrinsics::Vector128<float> Shuffle(System::Runtime::Intrinsics::Vector128<float> vector, System::Runtime::Intrinsics::Vector128<int> indices);
public static System.Runtime.Intrinsics.Vector128<float> Shuffle (System.Runtime.Intrinsics.Vector128<float> vector, System.Runtime.Intrinsics.Vector128<int> indices);
static member Shuffle : System.Runtime.Intrinsics.Vector128<single> * System.Runtime.Intrinsics.Vector128<int> -> System.Runtime.Intrinsics.Vector128<single>
Public Function Shuffle (vector As Vector128(Of Single), indices As Vector128(Of Integer)) As Vector128(Of Single)

Parameters

vector
Vector128<Single>

The input vector from which values are selected.

indices
Vector128<Int32>

The per-element indices used to select a value from vector.

Returns

A new vector containing the values from vector selected by the given indices.

Applies to

Shuffle(Vector128<SByte>, Vector128<SByte>)

Source:
Vector128.cs
Source:
Vector128.cs
Source:
Vector128.cs

Important

This API is not CLS-compliant.

Creates a new vector by selecting values from an input vector using a set of indices.

public:
 static System::Runtime::Intrinsics::Vector128<System::SByte> Shuffle(System::Runtime::Intrinsics::Vector128<System::SByte> vector, System::Runtime::Intrinsics::Vector128<System::SByte> indices);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<sbyte> Shuffle (System.Runtime.Intrinsics.Vector128<sbyte> vector, System.Runtime.Intrinsics.Vector128<sbyte> indices);
[<System.CLSCompliant(false)>]
static member Shuffle : System.Runtime.Intrinsics.Vector128<sbyte> * System.Runtime.Intrinsics.Vector128<sbyte> -> System.Runtime.Intrinsics.Vector128<sbyte>
Public Function Shuffle (vector As Vector128(Of SByte), indices As Vector128(Of SByte)) As Vector128(Of SByte)

Parameters

vector
Vector128<SByte>

The input vector from which values are selected.

indices
Vector128<SByte>

The per-element indices used to select a value from vector.

Returns

A new vector containing the values from vector selected by the given indices.

Attributes

Applies to

Shuffle(Vector128<Int32>, Vector128<Int32>)

Source:
Vector128.cs
Source:
Vector128.cs
Source:
Vector128.cs

Creates a new vector by selecting values from an input vector using a set of indices.

public:
 static System::Runtime::Intrinsics::Vector128<int> Shuffle(System::Runtime::Intrinsics::Vector128<int> vector, System::Runtime::Intrinsics::Vector128<int> indices);
public static System.Runtime.Intrinsics.Vector128<int> Shuffle (System.Runtime.Intrinsics.Vector128<int> vector, System.Runtime.Intrinsics.Vector128<int> indices);
static member Shuffle : System.Runtime.Intrinsics.Vector128<int> * System.Runtime.Intrinsics.Vector128<int> -> System.Runtime.Intrinsics.Vector128<int>
Public Function Shuffle (vector As Vector128(Of Integer), indices As Vector128(Of Integer)) As Vector128(Of Integer)

Parameters

vector
Vector128<Int32>

The input vector from which values are selected.

indices
Vector128<Int32>

The per-element indices used to select a value from vector.

Returns

A new vector containing the values from vector selected by the given indices.

Applies to

Shuffle(Vector128<Int16>, Vector128<Int16>)

Source:
Vector128.cs
Source:
Vector128.cs
Source:
Vector128.cs

Creates a new vector by selecting values from an input vector using a set of indices.

public:
 static System::Runtime::Intrinsics::Vector128<short> Shuffle(System::Runtime::Intrinsics::Vector128<short> vector, System::Runtime::Intrinsics::Vector128<short> indices);
public static System.Runtime.Intrinsics.Vector128<short> Shuffle (System.Runtime.Intrinsics.Vector128<short> vector, System.Runtime.Intrinsics.Vector128<short> indices);
static member Shuffle : System.Runtime.Intrinsics.Vector128<int16> * System.Runtime.Intrinsics.Vector128<int16> -> System.Runtime.Intrinsics.Vector128<int16>
Public Function Shuffle (vector As Vector128(Of Short), indices As Vector128(Of Short)) As Vector128(Of Short)

Parameters

vector
Vector128<Int16>

The input vector from which values are selected.

indices
Vector128<Int16>

The per-element indices used to select a value from vector.

Returns

A new vector containing the values from vector selected by the given indices.

Applies to

Shuffle(Vector128<Double>, Vector128<Int64>)

Source:
Vector128.cs
Source:
Vector128.cs
Source:
Vector128.cs

Creates a new vector by selecting values from an input vector using a set of indices.

public:
 static System::Runtime::Intrinsics::Vector128<double> Shuffle(System::Runtime::Intrinsics::Vector128<double> vector, System::Runtime::Intrinsics::Vector128<long> indices);
public static System.Runtime.Intrinsics.Vector128<double> Shuffle (System.Runtime.Intrinsics.Vector128<double> vector, System.Runtime.Intrinsics.Vector128<long> indices);
static member Shuffle : System.Runtime.Intrinsics.Vector128<double> * System.Runtime.Intrinsics.Vector128<int64> -> System.Runtime.Intrinsics.Vector128<double>
Public Function Shuffle (vector As Vector128(Of Double), indices As Vector128(Of Long)) As Vector128(Of Double)

Parameters

vector
Vector128<Double>

The input vector from which values are selected.

indices
Vector128<Int64>

The per-element indices used to select a value from vector.

Returns

A new vector containing the values from vector selected by the given indices.

Applies to

Shuffle(Vector128<Byte>, Vector128<Byte>)

Source:
Vector128.cs
Source:
Vector128.cs
Source:
Vector128.cs

Creates a new vector by selecting values from an input vector using a set of indices.

public:
 static System::Runtime::Intrinsics::Vector128<System::Byte> Shuffle(System::Runtime::Intrinsics::Vector128<System::Byte> vector, System::Runtime::Intrinsics::Vector128<System::Byte> indices);
public static System.Runtime.Intrinsics.Vector128<byte> Shuffle (System.Runtime.Intrinsics.Vector128<byte> vector, System.Runtime.Intrinsics.Vector128<byte> indices);
static member Shuffle : System.Runtime.Intrinsics.Vector128<byte> * System.Runtime.Intrinsics.Vector128<byte> -> System.Runtime.Intrinsics.Vector128<byte>
Public Function Shuffle (vector As Vector128(Of Byte), indices As Vector128(Of Byte)) As Vector128(Of Byte)

Parameters

vector
Vector128<Byte>

The input vector from which values are selected.

indices
Vector128<Byte>

The per-element indices used to select a value from vector.

Returns

A new vector containing the values from vector selected by the given indices.

Applies to

Shuffle(Vector128<Int64>, Vector128<Int64>)

Source:
Vector128.cs
Source:
Vector128.cs
Source:
Vector128.cs

Creates a new vector by selecting values from an input vector using a set of indices.

public:
 static System::Runtime::Intrinsics::Vector128<long> Shuffle(System::Runtime::Intrinsics::Vector128<long> vector, System::Runtime::Intrinsics::Vector128<long> indices);
public static System.Runtime.Intrinsics.Vector128<long> Shuffle (System.Runtime.Intrinsics.Vector128<long> vector, System.Runtime.Intrinsics.Vector128<long> indices);
static member Shuffle : System.Runtime.Intrinsics.Vector128<int64> * System.Runtime.Intrinsics.Vector128<int64> -> System.Runtime.Intrinsics.Vector128<int64>
Public Function Shuffle (vector As Vector128(Of Long), indices As Vector128(Of Long)) As Vector128(Of Long)

Parameters

vector
Vector128<Int64>

The input vector from which values are selected.

indices
Vector128<Int64>

The per-element indices used to select a value from vector.

Returns

A new vector containing the values from vector selected by the given indices.

Applies to