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.

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

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

.NET 10 e outras versións
Produto Versións
.NET 7, 8, 9, 10

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.

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

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

.NET 10 e outras versións
Produto Versións
.NET 7, 8, 9, 10

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.

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

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

.NET 10 e outras versións
Produto Versións
.NET 7, 8, 9, 10

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.

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

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

.NET 10 e outras versións
Produto Versións
.NET 7, 8, 9, 10

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.

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

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

.NET 10 e outras versións
Produto Versións
.NET 7, 8, 9, 10

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.

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

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

.NET 10 e outras versións
Produto Versións
.NET 7, 8, 9, 10

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.

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

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

.NET 10 e outras versións
Produto Versións
.NET 7, 8, 9, 10

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.

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

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

.NET 10 e outras versións
Produto Versións
.NET 7, 8, 9, 10

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.

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

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

.NET 10 e outras versións
Produto Versións
.NET 7, 8, 9, 10

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.

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

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

.NET 10 e outras versións
Produto Versións
.NET 7, 8, 9, 10