Edit

Share via


Vector.Floor Method

Definition

Overloads

Floor(Vector<Double>)

Returns a new vector whose elements are the largest integral values that are less than or equal to the given vector's elements.

Floor(Vector<Single>)

Returns a new vector whose elements are the largest integral values that are less than or equal to the given vector's elements.

Floor(Vector<Double>)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Returns a new vector whose elements are the largest integral values that are less than or equal to the given vector's elements.

public:
 static System::Numerics::Vector<double> Floor(System::Numerics::Vector<double> value);
public static System.Numerics.Vector<double> Floor (System.Numerics.Vector<double> value);
static member Floor : System.Numerics.Vector<double> -> System.Numerics.Vector<double>
Public Shared Function Floor (value As Vector(Of Double)) As Vector(Of Double)
Public Function Floor (value As Vector(Of Double)) As Vector(Of Double)

Parameters

value
Vector<Double>

The source vector.

Returns

The vector whose elements are the largest integral values that are less than or equal to the given vector's elements. If a value is equal to NaN, NegativeInfinity, or PositiveInfinity, that value is returned.

Remarks

Note that this method returns a Double instead of an integral type.

See also

Applies to

Floor(Vector<Single>)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Returns a new vector whose elements are the largest integral values that are less than or equal to the given vector's elements.

public:
 static System::Numerics::Vector<float> Floor(System::Numerics::Vector<float> value);
public static System.Numerics.Vector<float> Floor (System.Numerics.Vector<float> value);
static member Floor : System.Numerics.Vector<single> -> System.Numerics.Vector<single>
Public Shared Function Floor (value As Vector(Of Single)) As Vector(Of Single)
Public Function Floor (value As Vector(Of Single)) As Vector(Of Single)

Parameters

value
Vector<Single>

The source vector.

Returns

The vector whose elements are the largest integral values that are less than or equal to the given vector's elements. If a value is equal to NaN, NegativeInfinity, or PositiveInfinity, that value is returned.

Remarks

Note that this method returns a Single instead of an integral type.

See also

Applies to