Vector256.Shuffle Method

Definition

Overloads

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

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<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.

C#
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<ulong> Shuffle(System.Runtime.Intrinsics.Vector256<ulong> vector, System.Runtime.Intrinsics.Vector256<ulong> indices);

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

.NET 10 and other versions
Product Versions
.NET 7, 8, 9, 10

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.

C#
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<uint> Shuffle(System.Runtime.Intrinsics.Vector256<uint> vector, System.Runtime.Intrinsics.Vector256<uint> indices);

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

.NET 10 and other versions
Product Versions
.NET 7, 8, 9, 10

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.

C#
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<ushort> Shuffle(System.Runtime.Intrinsics.Vector256<ushort> vector, System.Runtime.Intrinsics.Vector256<ushort> indices);

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

.NET 10 and other versions
Product Versions
.NET 7, 8, 9, 10

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.

C#
public static System.Runtime.Intrinsics.Vector256<float> Shuffle(System.Runtime.Intrinsics.Vector256<float> vector, System.Runtime.Intrinsics.Vector256<int> indices);

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

.NET 10 and other versions
Product Versions
.NET 7, 8, 9, 10

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.

C#
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<sbyte> Shuffle(System.Runtime.Intrinsics.Vector256<sbyte> vector, System.Runtime.Intrinsics.Vector256<sbyte> indices);

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

.NET 10 and other versions
Product Versions
.NET 7, 8, 9, 10

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.

C#
public static System.Runtime.Intrinsics.Vector256<int> Shuffle(System.Runtime.Intrinsics.Vector256<int> vector, System.Runtime.Intrinsics.Vector256<int> indices);

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

.NET 10 and other versions
Product Versions
.NET 7, 8, 9, 10

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.

C#
public static System.Runtime.Intrinsics.Vector256<short> Shuffle(System.Runtime.Intrinsics.Vector256<short> vector, System.Runtime.Intrinsics.Vector256<short> indices);

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

.NET 10 and other versions
Product Versions
.NET 7, 8, 9, 10

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.

C#
public static System.Runtime.Intrinsics.Vector256<double> Shuffle(System.Runtime.Intrinsics.Vector256<double> vector, System.Runtime.Intrinsics.Vector256<long> indices);

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

.NET 10 and other versions
Product Versions
.NET 7, 8, 9, 10

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.

C#
public static System.Runtime.Intrinsics.Vector256<byte> Shuffle(System.Runtime.Intrinsics.Vector256<byte> vector, System.Runtime.Intrinsics.Vector256<byte> indices);

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

.NET 10 and other versions
Product Versions
.NET 7, 8, 9, 10

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.

C#
public static System.Runtime.Intrinsics.Vector256<long> Shuffle(System.Runtime.Intrinsics.Vector256<long> vector, System.Runtime.Intrinsics.Vector256<long> indices);

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

.NET 10 and other versions
Product Versions
.NET 7, 8, 9, 10