Vector128.Narrow Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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<Double>, Vector128<Double>) |
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<Int16>, Vector128<Int16>) |
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>)
- Source:
- Vector128.cs
- 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>.
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
Returns
A Vector128<T> containing elements narrowed from lower and upper.
- Attributes
Remarks
This method uses the default conversion behavior for UInt64 to UInt32, which is truncation.
Applies to
Narrow(Vector128<UInt32>, Vector128<UInt32>)
- Source:
- Vector128.cs
- 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>.
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
Returns
A Vector128<T> containing elements narrowed from lower and upper.
- Attributes
Remarks
This method uses the default conversion behavior for UInt32 to UInt16, which is truncation.
Applies to
Narrow(Vector128<UInt16>, Vector128<UInt16>)
- Source:
- Vector128.cs
- 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>.
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
Returns
A Vector128<T> containing elements narrowed from lower and upper.
- Attributes
Remarks
This method uses the default conversion behavior for UInt16 to Byte, which is truncation.
Applies to
Narrow(Vector128<Double>, Vector128<Double>)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
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
Returns
A Vector128<T> containing elements narrowed from lower and upper.
Remarks
This uses the default conversion behavior for Double to Single, which is saturation.
Applies to
Narrow(Vector128<Int32>, Vector128<Int32>)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
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
Returns
A Vector128<T> containing elements narrowed from lower and upper.
Remarks
This method uses the default conversion behavior for Int32 to Int16, which is truncation.
Applies to
Narrow(Vector128<Int16>, Vector128<Int16>)
- Source:
- Vector128.cs
- 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>.
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
Returns
A Vector128<T> containing elements narrowed from lower and upper.
- Attributes
Remarks
This method uses the default conversion behavior for Int16 to SByte, which is truncation.
Applies to
Narrow(Vector128<Int64>, Vector128<Int64>)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
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
Returns
A Vector128<T> containing elements narrowed from lower and upper.
Remarks
This method uses the default conversion behavior for Int64 to Int32, which is truncation.