Edit

Share via


Vector.Ceiling Method

Definition

Overloads

Ceiling(Vector<Double>)

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

Ceiling(Vector<Single>)

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

Ceiling(Vector<Double>)

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

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

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

Parameters

value
Vector<Double>

The source vector.

Returns

The vector whose elements are the smallest integral values that are greater 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

Ceiling(Vector<Single>)

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

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

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

Parameters

value
Vector<Single>

The source vector.

Returns

The vector whose elements are the smallest integral values that are greater 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