Language

Vector.NarrowWithSaturation Method

Definition

Overloads

Name Description
NarrowWithSaturation(Vector, Vector)

Narrows two vector of UInt64 instances into one vector of UInt32 using a saturating conversion.

NarrowWithSaturation(Vector, Vector)

Narrows two vector of UInt16 instances into one vector of Byte using a saturating conversion.

NarrowWithSaturation(Vector, Vector)

Narrows two vector of Int64 instances into one vector of Int32 using a saturating conversion.

NarrowWithSaturation(Vector, Vector)

Narrows two vector of UInt32 instances into one vector of UInt16 using a saturating conversion.

NarrowWithSaturation(Vector, Vector)

Narrows two vector of Int16 instances into one vector of SByte using a saturating conversion.

NarrowWithSaturation(Vector, Vector)

Narrows two vector of Double instances into one vector of Single using a saturating conversion.

NarrowWithSaturation(Vector, Vector)

Narrows two vector of Int32 instances into one vector of Int16 using a saturating conversion.

NarrowWithSaturation(Vector, Vector)

Source:
Vector.cs
Source:
Vector.cs

Important

This API is not CLS-compliant.

Narrows two vector of UInt64 instances into one vector of UInt32 using a saturating conversion.

public:
 static System::Numerics::Vector NarrowWithSaturation(System::Numerics::Vector low, System::Numerics::Vector high);
[System.CLSCompliant(false)]
public static System.Numerics.Vector NarrowWithSaturation(System.Numerics.Vector low, System.Numerics.Vector high);
[]
static member NarrowWithSaturation : System.Numerics.Vector * System.Numerics.Vector -> System.Numerics.Vector
Public Function NarrowWithSaturation (low As Vector(Of ULong), high As Vector(Of ULong)) As Vector(Of UInteger)

Parameters

low
Vector<UInt64>
high
Vector<UInt64>

Returns

A vector of UInt32 containing elements narrowed with saturation from lower and upper.

Attributes

Applies to

NarrowWithSaturation(Vector, Vector)

Source:
Vector.cs
Source:
Vector.cs

Important

This API is not CLS-compliant.

Narrows two vector of UInt16 instances into one vector of Byte using a saturating conversion.

public:
 static System::Numerics::Vector NarrowWithSaturation(System::Numerics::Vector low, System::Numerics::Vector high);
[System.CLSCompliant(false)]
public static System.Numerics.Vector NarrowWithSaturation(System.Numerics.Vector low, System.Numerics.Vector high);
[]
static member NarrowWithSaturation : System.Numerics.Vector * System.Numerics.Vector -> System.Numerics.Vector
Public Function NarrowWithSaturation (low As Vector(Of UShort), high As Vector(Of UShort)) As Vector(Of Byte)

Parameters

low
Vector<UInt16>
high
Vector<UInt16>

Returns

A vector of Byte containing elements narrowed with saturation from lower and upper.

Attributes

Applies to

NarrowWithSaturation(Vector, Vector)

Source:
Vector.cs
Source:
Vector.cs

Narrows two vector of Int64 instances into one vector of Int32 using a saturating conversion.

public:
 static System::Numerics::Vector NarrowWithSaturation(System::Numerics::Vector low, System::Numerics::Vector high);
public static System.Numerics.Vector NarrowWithSaturation(System.Numerics.Vector low, System.Numerics.Vector high);
static member NarrowWithSaturation : System.Numerics.Vector * System.Numerics.Vector -> System.Numerics.Vector
Public Function NarrowWithSaturation (low As Vector(Of Long), high As Vector(Of Long)) As Vector(Of Integer)

Parameters

low
Vector<Int64>
high
Vector<Int64>

Returns

A vector of Int32 containing elements narrowed with saturation from lower and upper.

Applies to

NarrowWithSaturation(Vector, Vector)

Source:
Vector.cs
Source:
Vector.cs

Important

This API is not CLS-compliant.

Narrows two vector of UInt32 instances into one vector of UInt16 using a saturating conversion.

public:
 static System::Numerics::Vector NarrowWithSaturation(System::Numerics::Vector low, System::Numerics::Vector high);
[System.CLSCompliant(false)]
public static System.Numerics.Vector NarrowWithSaturation(System.Numerics.Vector low, System.Numerics.Vector high);
[]
static member NarrowWithSaturation : System.Numerics.Vector * System.Numerics.Vector -> System.Numerics.Vector
Public Function NarrowWithSaturation (low As Vector(Of UInteger), high As Vector(Of UInteger)) As Vector(Of UShort)

Parameters

low
Vector<UInt32>
high
Vector<UInt32>

Returns

A vector of UInt16 containing elements narrowed with saturation from lower and upper.

Attributes

Applies to

NarrowWithSaturation(Vector, Vector)

Source:
Vector.cs
Source:
Vector.cs

Important

This API is not CLS-compliant.

Narrows two vector of Int16 instances into one vector of SByte using a saturating conversion.

public:
 static System::Numerics::Vector NarrowWithSaturation(System::Numerics::Vector low, System::Numerics::Vector high);
[System.CLSCompliant(false)]
public static System.Numerics.Vector NarrowWithSaturation(System.Numerics.Vector low, System.Numerics.Vector high);
[]
static member NarrowWithSaturation : System.Numerics.Vector * System.Numerics.Vector -> System.Numerics.Vector
Public Function NarrowWithSaturation (low As Vector(Of Short), high As Vector(Of Short)) As Vector(Of SByte)

Parameters

low
Vector<Int16>
high
Vector<Int16>

Returns

A vector of SByte containing elements narrowed with saturation from lower and upper.

Attributes

Applies to

NarrowWithSaturation(Vector, Vector)

Source:
Vector.cs
Source:
Vector.cs

Narrows two vector of Double instances into one vector of Single using a saturating conversion.

public:
 static System::Numerics::Vector NarrowWithSaturation(System::Numerics::Vector low, System::Numerics::Vector high);
public static System.Numerics.Vector NarrowWithSaturation(System.Numerics.Vector low, System.Numerics.Vector high);
static member NarrowWithSaturation : System.Numerics.Vector * System.Numerics.Vector -> System.Numerics.Vector
Public Function NarrowWithSaturation (low As Vector(Of Double), high As Vector(Of Double)) As Vector(Of Single)

Parameters

low
Vector<Double>
high
Vector<Double>

Returns

A vector of Single containing elements narrowed with saturation from lower and upper.

Applies to

NarrowWithSaturation(Vector, Vector)

Source:
Vector.cs
Source:
Vector.cs

Narrows two vector of Int32 instances into one vector of Int16 using a saturating conversion.

public:
 static System::Numerics::Vector NarrowWithSaturation(System::Numerics::Vector low, System::Numerics::Vector high);
public static System.Numerics.Vector NarrowWithSaturation(System.Numerics.Vector low, System.Numerics.Vector high);
static member NarrowWithSaturation : System.Numerics.Vector * System.Numerics.Vector -> System.Numerics.Vector
Public Function NarrowWithSaturation (low As Vector(Of Integer), high As Vector(Of Integer)) As Vector(Of Short)

Parameters

low
Vector<Int32>
high
Vector<Int32>

Returns

A vector of Int16 containing elements narrowed with saturation from lower and upper.

Applies to