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.

C#
public static System.Numerics.Vector<double> Floor(System.Numerics.Vector<double> value);

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

.NET 10 and other versions
Product Versions
.NET 5, 6, 7, 8, 9, 10

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.

C#
public static System.Numerics.Vector<float> Floor(System.Numerics.Vector<float> value);

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

.NET 10 and other versions
Product Versions
.NET 5, 6, 7, 8, 9, 10