Edit

Share via


Vector256.Shuffle Method

Definition

Overloads

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

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

Shuffle(Vector256<UInt64>, Vector256<UInt64>)

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

Shuffle(Vector256<UInt32>, Vector256<UInt32>)

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

Shuffle(Vector256<UInt16>, Vector256<UInt16>)

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

Shuffle(Vector256<SByte>, Vector256<SByte>)

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

Shuffle(Vector256<Int32>, Vector256<Int32>)

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

Shuffle(Vector256<Int16>, Vector256<Int16>)

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

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

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

Shuffle(Vector256<Byte>, Vector256<Byte>)

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

Shuffle(Vector256<Int64>, Vector256<Int64>)

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

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

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

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

Parameters

vector
Vector256<Single>

The input vector from which values are selected.

indices
Vector256<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(Vector256<UInt64>, Vector256<UInt64>)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.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::Vector256<System::UInt64> Shuffle(System::Runtime::Intrinsics::Vector256<System::UInt64> vector, System::Runtime::Intrinsics::Vector256<System::UInt64> indices);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<ulong> Shuffle (System.Runtime.Intrinsics.Vector256<ulong> vector, System.Runtime.Intrinsics.Vector256<ulong> indices);
[<System.CLSCompliant(false)>]
static member Shuffle : System.Runtime.Intrinsics.Vector256<uint64> * System.Runtime.Intrinsics.Vector256<uint64> -> System.Runtime.Intrinsics.Vector256<uint64>
Public Function Shuffle (vector As Vector256(Of ULong), indices As Vector256(Of ULong)) As Vector256(Of ULong)

Parameters

vector
Vector256<UInt64>

The input vector from which values are selected.

indices
Vector256<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(Vector256<UInt32>, Vector256<UInt32>)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.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::Vector256<System::UInt32> Shuffle(System::Runtime::Intrinsics::Vector256<System::UInt32> vector, System::Runtime::Intrinsics::Vector256<System::UInt32> indices);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<uint> Shuffle (System.Runtime.Intrinsics.Vector256<uint> vector, System.Runtime.Intrinsics.Vector256<uint> indices);
[<System.CLSCompliant(false)>]
static member Shuffle : System.Runtime.Intrinsics.Vector256<uint32> * System.Runtime.Intrinsics.Vector256<uint32> -> System.Runtime.Intrinsics.Vector256<uint32>
Public Function Shuffle (vector As Vector256(Of UInteger), indices As Vector256(Of UInteger)) As Vector256(Of UInteger)

Parameters

vector
Vector256<UInt32>

The input vector from which values are selected.

indices
Vector256<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(Vector256<UInt16>, Vector256<UInt16>)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.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::Vector256<System::UInt16> Shuffle(System::Runtime::Intrinsics::Vector256<System::UInt16> vector, System::Runtime::Intrinsics::Vector256<System::UInt16> indices);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<ushort> Shuffle (System.Runtime.Intrinsics.Vector256<ushort> vector, System.Runtime.Intrinsics.Vector256<ushort> indices);
[<System.CLSCompliant(false)>]
static member Shuffle : System.Runtime.Intrinsics.Vector256<uint16> * System.Runtime.Intrinsics.Vector256<uint16> -> System.Runtime.Intrinsics.Vector256<uint16>
Public Function Shuffle (vector As Vector256(Of UShort), indices As Vector256(Of UShort)) As Vector256(Of UShort)

Parameters

vector
Vector256<UInt16>

The input vector from which values are selected.

indices
Vector256<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(Vector256<SByte>, Vector256<SByte>)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.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::Vector256<System::SByte> Shuffle(System::Runtime::Intrinsics::Vector256<System::SByte> vector, System::Runtime::Intrinsics::Vector256<System::SByte> indices);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<sbyte> Shuffle (System.Runtime.Intrinsics.Vector256<sbyte> vector, System.Runtime.Intrinsics.Vector256<sbyte> indices);
[<System.CLSCompliant(false)>]
static member Shuffle : System.Runtime.Intrinsics.Vector256<sbyte> * System.Runtime.Intrinsics.Vector256<sbyte> -> System.Runtime.Intrinsics.Vector256<sbyte>
Public Function Shuffle (vector As Vector256(Of SByte), indices As Vector256(Of SByte)) As Vector256(Of SByte)

Parameters

vector
Vector256<SByte>

The input vector from which values are selected.

indices
Vector256<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(Vector256<Int32>, Vector256<Int32>)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

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

Parameters

vector
Vector256<Int32>

The input vector from which values are selected.

indices
Vector256<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(Vector256<Int16>, Vector256<Int16>)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

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

Parameters

vector
Vector256<Int16>

The input vector from which values are selected.

indices
Vector256<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(Vector256<Double>, Vector256<Int64>)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

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

Parameters

vector
Vector256<Double>

The input vector from which values are selected.

indices
Vector256<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(Vector256<Byte>, Vector256<Byte>)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

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

Parameters

vector
Vector256<Byte>

The input vector from which values are selected.

indices
Vector256<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(Vector256<Int64>, Vector256<Int64>)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

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

Parameters

vector
Vector256<Int64>

The input vector from which values are selected.

indices
Vector256<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