Vector128.Narrow Method

Definition

Overloads

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Important

This API is not CLS-compliant.

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

public:
 static System::Runtime::Intrinsics::Vector128<System::UInt32> Narrow(System::Runtime::Intrinsics::Vector128<System::UInt64> lower, System::Runtime::Intrinsics::Vector128<System::UInt64> upper);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<uint> Narrow (System.Runtime.Intrinsics.Vector128<ulong> lower, System.Runtime.Intrinsics.Vector128<ulong> upper);
[<System.CLSCompliant(false)>]
static member Narrow : System.Runtime.Intrinsics.Vector128<uint64> * System.Runtime.Intrinsics.Vector128<uint64> -> System.Runtime.Intrinsics.Vector128<uint32>
Public Function Narrow (lower As Vector128(Of ULong), upper As Vector128(Of ULong)) As Vector128(Of UInteger)

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

Vector128<UInt32>

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

Attributes

Applies to

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

Important

This API is not CLS-compliant.

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

public:
 static System::Runtime::Intrinsics::Vector128<System::UInt16> Narrow(System::Runtime::Intrinsics::Vector128<System::UInt32> lower, System::Runtime::Intrinsics::Vector128<System::UInt32> upper);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<ushort> Narrow (System.Runtime.Intrinsics.Vector128<uint> lower, System.Runtime.Intrinsics.Vector128<uint> upper);
[<System.CLSCompliant(false)>]
static member Narrow : System.Runtime.Intrinsics.Vector128<uint32> * System.Runtime.Intrinsics.Vector128<uint32> -> System.Runtime.Intrinsics.Vector128<uint16>
Public Function Narrow (lower As Vector128(Of UInteger), upper As Vector128(Of UInteger)) As Vector128(Of UShort)

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

Vector128<UInt16>

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

Attributes

Applies to

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

Important

This API is not CLS-compliant.

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

public:
 static System::Runtime::Intrinsics::Vector128<System::Byte> Narrow(System::Runtime::Intrinsics::Vector128<System::UInt16> lower, System::Runtime::Intrinsics::Vector128<System::UInt16> upper);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<byte> Narrow (System.Runtime.Intrinsics.Vector128<ushort> lower, System.Runtime.Intrinsics.Vector128<ushort> upper);
[<System.CLSCompliant(false)>]
static member Narrow : System.Runtime.Intrinsics.Vector128<uint16> * System.Runtime.Intrinsics.Vector128<uint16> -> System.Runtime.Intrinsics.Vector128<byte>
Public Function Narrow (lower As Vector128(Of UShort), upper As Vector128(Of UShort)) As Vector128(Of Byte)

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

Vector128<Byte>

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

Attributes

Applies to

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

Important

This API is not CLS-compliant.

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

public:
 static System::Runtime::Intrinsics::Vector128<System::SByte> Narrow(System::Runtime::Intrinsics::Vector128<short> lower, System::Runtime::Intrinsics::Vector128<short> upper);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<sbyte> Narrow (System.Runtime.Intrinsics.Vector128<short> lower, System.Runtime.Intrinsics.Vector128<short> upper);
[<System.CLSCompliant(false)>]
static member Narrow : System.Runtime.Intrinsics.Vector128<int16> * System.Runtime.Intrinsics.Vector128<int16> -> System.Runtime.Intrinsics.Vector128<sbyte>
Public Function Narrow (lower As Vector128(Of Short), upper As Vector128(Of Short)) As Vector128(Of SByte)

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

Vector128<SByte>

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

Attributes

Applies to

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

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

public:
 static System::Runtime::Intrinsics::Vector128<short> Narrow(System::Runtime::Intrinsics::Vector128<int> lower, System::Runtime::Intrinsics::Vector128<int> upper);
public static System.Runtime.Intrinsics.Vector128<short> Narrow (System.Runtime.Intrinsics.Vector128<int> lower, System.Runtime.Intrinsics.Vector128<int> upper);
static member Narrow : System.Runtime.Intrinsics.Vector128<int> * System.Runtime.Intrinsics.Vector128<int> -> System.Runtime.Intrinsics.Vector128<int16>
Public Function Narrow (lower As Vector128(Of Integer), upper As Vector128(Of Integer)) As Vector128(Of Short)

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

Vector128<Int16>

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

Applies to

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

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

public:
 static System::Runtime::Intrinsics::Vector128<float> Narrow(System::Runtime::Intrinsics::Vector128<double> lower, System::Runtime::Intrinsics::Vector128<double> upper);
public static System.Runtime.Intrinsics.Vector128<float> Narrow (System.Runtime.Intrinsics.Vector128<double> lower, System.Runtime.Intrinsics.Vector128<double> upper);
static member Narrow : System.Runtime.Intrinsics.Vector128<double> * System.Runtime.Intrinsics.Vector128<double> -> System.Runtime.Intrinsics.Vector128<single>
Public Function Narrow (lower As Vector128(Of Double), upper As Vector128(Of Double)) As Vector128(Of Single)

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

Vector128<Single>

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

Applies to

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

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

public:
 static System::Runtime::Intrinsics::Vector128<int> Narrow(System::Runtime::Intrinsics::Vector128<long> lower, System::Runtime::Intrinsics::Vector128<long> upper);
public static System.Runtime.Intrinsics.Vector128<int> Narrow (System.Runtime.Intrinsics.Vector128<long> lower, System.Runtime.Intrinsics.Vector128<long> upper);
static member Narrow : System.Runtime.Intrinsics.Vector128<int64> * System.Runtime.Intrinsics.Vector128<int64> -> System.Runtime.Intrinsics.Vector128<int>
Public Function Narrow (lower As Vector128(Of Long), upper As Vector128(Of Long)) As Vector128(Of Integer)

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

Vector128<Int32>

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

Applies to