Edit

Share via


TensorPrimitives.Round Method

Definition

Overloads

Round<T>(ReadOnlySpan<T>, Int32, MidpointRounding, Span<T>)
Round<T>(ReadOnlySpan<T>, MidpointRounding, Span<T>)
Round<T>(ReadOnlySpan<T>, Span<T>)
Round<T>(ReadOnlySpan<T>, Int32, Span<T>)

Round<T>(ReadOnlySpan<T>, Int32, MidpointRounding, Span<T>)

Source:
TensorPrimitives.Round.cs
Source:
TensorPrimitives.Round.cs
public:
generic <typename T>
 where T : System::Numerics::IFloatingPoint<T> static void Round(ReadOnlySpan<T> x, int digits, MidpointRounding mode, Span<T> destination);
public static void Round<T> (ReadOnlySpan<T> x, int digits, MidpointRounding mode, Span<T> destination) where T : System.Numerics.IFloatingPoint<T>;
static member Round : ReadOnlySpan<'T (requires 'T :> System.Numerics.IFloatingPoint<'T>)> * int * MidpointRounding * Span<'T (requires 'T :> System.Numerics.IFloatingPoint<'T>)> -> unit (requires 'T :> System.Numerics.IFloatingPoint<'T>)
Public Shared Sub Round(Of T As IFloatingPoint(Of T)) (x As ReadOnlySpan(Of T), digits As Integer, mode As MidpointRounding, destination As Span(Of T))

Type Parameters

T

Parameters

digits
Int32
destination
Span<T>

Applies to

Round<T>(ReadOnlySpan<T>, MidpointRounding, Span<T>)

Source:
TensorPrimitives.Round.cs
Source:
TensorPrimitives.Round.cs
public:
generic <typename T>
 where T : System::Numerics::IFloatingPoint<T> static void Round(ReadOnlySpan<T> x, MidpointRounding mode, Span<T> destination);
public static void Round<T> (ReadOnlySpan<T> x, MidpointRounding mode, Span<T> destination) where T : System.Numerics.IFloatingPoint<T>;
static member Round : ReadOnlySpan<'T (requires 'T :> System.Numerics.IFloatingPoint<'T>)> * MidpointRounding * Span<'T (requires 'T :> System.Numerics.IFloatingPoint<'T>)> -> unit (requires 'T :> System.Numerics.IFloatingPoint<'T>)
Public Shared Sub Round(Of T As IFloatingPoint(Of T)) (x As ReadOnlySpan(Of T), mode As MidpointRounding, destination As Span(Of T))

Type Parameters

T

Parameters

destination
Span<T>

Applies to

Round<T>(ReadOnlySpan<T>, Span<T>)

Source:
TensorPrimitives.Round.cs
Source:
TensorPrimitives.Round.cs
public:
generic <typename T>
 where T : System::Numerics::IFloatingPoint<T> static void Round(ReadOnlySpan<T> x, Span<T> destination);
public static void Round<T> (ReadOnlySpan<T> x, Span<T> destination) where T : System.Numerics.IFloatingPoint<T>;
static member Round : ReadOnlySpan<'T (requires 'T :> System.Numerics.IFloatingPoint<'T>)> * Span<'T (requires 'T :> System.Numerics.IFloatingPoint<'T>)> -> unit (requires 'T :> System.Numerics.IFloatingPoint<'T>)
Public Shared Sub Round(Of T As IFloatingPoint(Of T)) (x As ReadOnlySpan(Of T), destination As Span(Of T))

Type Parameters

T

Parameters

destination
Span<T>

Applies to

Round<T>(ReadOnlySpan<T>, Int32, Span<T>)

Source:
TensorPrimitives.Round.cs
Source:
TensorPrimitives.Round.cs
public:
generic <typename T>
 where T : System::Numerics::IFloatingPoint<T> static void Round(ReadOnlySpan<T> x, int digits, Span<T> destination);
public static void Round<T> (ReadOnlySpan<T> x, int digits, Span<T> destination) where T : System.Numerics.IFloatingPoint<T>;
static member Round : ReadOnlySpan<'T (requires 'T :> System.Numerics.IFloatingPoint<'T>)> * int * Span<'T (requires 'T :> System.Numerics.IFloatingPoint<'T>)> -> unit (requires 'T :> System.Numerics.IFloatingPoint<'T>)
Public Shared Sub Round(Of T As IFloatingPoint(Of T)) (x As ReadOnlySpan(Of T), digits As Integer, destination As Span(Of T))

Type Parameters

T

Parameters

digits
Int32
destination
Span<T>

Applies to