Vector128.Narrow Method

Definition

Overloads

Narrow(Vector128<UInt32>, Vector128<UInt32>)

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

Important

This API is not CLS-compliant.

Narrows two Vector128<T> instances into one Vector128<T>.

C#
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<ushort> Narrow(System.Runtime.Intrinsics.Vector128<uint> lower, System.Runtime.Intrinsics.Vector128<uint> upper);

Parameters

lower
Vector128<UInt32>

The vector that will be narrowed to the lower half of the result vector.

upper
Vector128<UInt32>

The vector that will be narrowed to the upper half of the result vector.

Returns

A Vector128<T> containing elements narrowed from lower and upper.

Attributes

Applies to

.NET 10 y otras versiones
Producto Versiones
.NET 7, 8, 9, 10

Narrow(Vector128<Int32>, Vector128<Int32>)

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

Narrows two Vector128<T> instances into one Vector128<T>.

C#
public static System.Runtime.Intrinsics.Vector128<short> Narrow(System.Runtime.Intrinsics.Vector128<int> lower, System.Runtime.Intrinsics.Vector128<int> upper);

Parameters

lower
Vector128<Int32>

The vector that will be narrowed to the lower half of the result vector.

upper
Vector128<Int32>

The vector that will be narrowed to the upper half of the result vector.

Returns

A Vector128<T> containing elements narrowed from lower and upper.

Applies to

.NET 10 y otras versiones
Producto Versiones
.NET 7, 8, 9, 10

Narrow(Vector128<UInt64>, Vector128<UInt64>)

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

Important

This API is not CLS-compliant.

Narrows two Vector128<T> instances into one Vector128<T>.

C#
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<uint> Narrow(System.Runtime.Intrinsics.Vector128<ulong> lower, System.Runtime.Intrinsics.Vector128<ulong> upper);

Parameters

lower
Vector128<UInt64>

The vector that will be narrowed to the lower half of the result vector.

upper
Vector128<UInt64>

The vector that will be narrowed to the upper half of the result vector.

Returns

A Vector128<T> containing elements narrowed from lower and upper.

Attributes

Applies to

.NET 10 y otras versiones
Producto Versiones
.NET 7, 8, 9, 10

Narrow(Vector128<UInt16>, Vector128<UInt16>)

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

Important

This API is not CLS-compliant.

Narrows two Vector128<T> instances into one Vector128<T>.

C#
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<byte> Narrow(System.Runtime.Intrinsics.Vector128<ushort> lower, System.Runtime.Intrinsics.Vector128<ushort> upper);

Parameters

lower
Vector128<UInt16>

The vector that will be narrowed to the lower half of the result vector.

upper
Vector128<UInt16>

The vector that will be narrowed to the upper half of the result vector.

Returns

A Vector128<T> containing elements narrowed from lower and upper.

Attributes

Applies to

.NET 10 y otras versiones
Producto Versiones
.NET 7, 8, 9, 10

Narrow(Vector128<Double>, Vector128<Double>)

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

Narrows two Vector128<T> instances into one Vector128<T>.

C#
public static System.Runtime.Intrinsics.Vector128<float> Narrow(System.Runtime.Intrinsics.Vector128<double> lower, System.Runtime.Intrinsics.Vector128<double> upper);

Parameters

lower
Vector128<Double>

The vector that will be narrowed to the lower half of the result vector.

upper
Vector128<Double>

The vector that will be narrowed to the upper half of the result vector.

Returns

A Vector128<T> containing elements narrowed from lower and upper.

Applies to

.NET 10 y otras versiones
Producto Versiones
.NET 7, 8, 9, 10

Narrow(Vector128<Int16>, Vector128<Int16>)

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

Important

This API is not CLS-compliant.

Narrows two Vector128<T> instances into one Vector128<T>.

C#
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<sbyte> Narrow(System.Runtime.Intrinsics.Vector128<short> lower, System.Runtime.Intrinsics.Vector128<short> upper);

Parameters

lower
Vector128<Int16>

The vector that will be narrowed to the lower half of the result vector.

upper
Vector128<Int16>

The vector that will be narrowed to the upper half of the result vector.

Returns

A Vector128<T> containing elements narrowed from lower and upper.

Attributes

Applies to

.NET 10 y otras versiones
Producto Versiones
.NET 7, 8, 9, 10

Narrow(Vector128<Int64>, Vector128<Int64>)

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

Narrows two Vector128<T> instances into one Vector128<T>.

C#
public static System.Runtime.Intrinsics.Vector128<int> Narrow(System.Runtime.Intrinsics.Vector128<long> lower, System.Runtime.Intrinsics.Vector128<long> upper);

Parameters

lower
Vector128<Int64>

The vector that will be narrowed to the lower half of the result vector.

upper
Vector128<Int64>

The vector that will be narrowed to the upper half of the result vector.

Returns

A Vector128<T> containing elements narrowed from lower and upper.

Applies to

.NET 10 y otras versiones
Producto Versiones
.NET 7, 8, 9, 10