Tensor.Round Metodo
In questo articolo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
Round<T>(ReadOnlyTensorSpan<T>) |
Calcola l'arrotondamento a livello di elemento dei numeri nel tensore specificato |
Round<T>(ReadOnlyTensorSpan<T>, Int32) |
Calcola l'arrotondamento a livello di elemento dei numeri nel tensore specificato |
Round<T>(ReadOnlyTensorSpan<T>, MidpointRounding) |
Calcola l'arrotondamento a livello di elemento dei numeri nel tensore specificato |
Round<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>) |
Calcola l'arrotondamento a livello di elemento dei numeri nel tensore specificato |
Round<T>(ReadOnlyTensorSpan<T>, Int32, MidpointRounding) |
Calcola l'arrotondamento a livello di elemento dei numeri nel tensore specificato |
Round<T>(ReadOnlyTensorSpan<T>, Int32, TensorSpan<T>) |
Calcola l'arrotondamento a livello di elemento dei numeri nel tensore specificato |
Round<T>(ReadOnlyTensorSpan<T>, MidpointRounding, TensorSpan<T>) |
Calcola l'arrotondamento a livello di elemento dei numeri nel tensore specificato |
Round<T>(ReadOnlyTensorSpan<T>, Int32, MidpointRounding, TensorSpan<T>) |
Calcola l'arrotondamento a livello di elemento dei numeri nel tensore specificato |
- Origine:
- TensorExtensions.cs
- Origine:
- TensorExtensions.cs
Calcola l'arrotondamento a livello di elemento dei numeri nel tensore specificato
public:
generic <typename T>
where T : System::Numerics::IFloatingPoint<T> static System::Numerics::Tensors::Tensor<T> ^ Round(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x);
public static System.Numerics.Tensors.Tensor<T> Round<T>(in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x) where T : System.Numerics.IFloatingPoint<T>;
static member Round : ReadOnlyTensorSpan -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IFloatingPoint<'T>)> (requires 'T :> System.Numerics.IFloatingPoint<'T>)
Public Function Round(Of T As IFloatingPoint(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T)) As Tensor(Of T)
Parametri di tipo
- T
Parametri
Restituisce
Si applica a
.NET 10 (package-provided) e altre versioni
Prodotto | Versioni |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
- Origine:
- TensorExtensions.cs
- Origine:
- TensorExtensions.cs
Calcola l'arrotondamento a livello di elemento dei numeri nel tensore specificato
public:
generic <typename T>
where T : System::Numerics::IFloatingPoint<T> static System::Numerics::Tensors::Tensor<T> ^ Round(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, int digits);
public static System.Numerics.Tensors.Tensor<T> Round<T>(in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, int digits) where T : System.Numerics.IFloatingPoint<T>;
static member Round : ReadOnlyTensorSpan * int -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IFloatingPoint<'T>)> (requires 'T :> System.Numerics.IFloatingPoint<'T>)
Public Function Round(Of T As IFloatingPoint(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), digits As Integer) As Tensor(Of T)
Parametri di tipo
- T
Parametri
- digits
- Int32
Restituisce
Si applica a
.NET 10 (package-provided) e altre versioni
Prodotto | Versioni |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
- Origine:
- TensorExtensions.cs
- Origine:
- TensorExtensions.cs
Calcola l'arrotondamento a livello di elemento dei numeri nel tensore specificato
public:
generic <typename T>
where T : System::Numerics::IFloatingPoint<T> static System::Numerics::Tensors::Tensor<T> ^ Round(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, MidpointRounding mode);
public static System.Numerics.Tensors.Tensor<T> Round<T>(in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, MidpointRounding mode) where T : System.Numerics.IFloatingPoint<T>;
static member Round : ReadOnlyTensorSpan * MidpointRounding -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IFloatingPoint<'T>)> (requires 'T :> System.Numerics.IFloatingPoint<'T>)
Public Function Round(Of T As IFloatingPoint(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), mode As MidpointRounding) As Tensor(Of T)
Parametri di tipo
- T
Parametri
- mode
- MidpointRounding
Restituisce
Si applica a
.NET 10 (package-provided) e altre versioni
Prodotto | Versioni |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
- Origine:
- TensorExtensions.cs
- Origine:
- TensorExtensions.cs
Calcola l'arrotondamento a livello di elemento dei numeri nel tensore specificato
public:
generic <typename T>
where T : System::Numerics::IFloatingPoint<T> static System::Numerics::Tensors::TensorSpan<T> ^ Round(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> Round<T>(scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.IFloatingPoint<T>;
static member Round : ReadOnlyTensorSpan * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.IFloatingPoint<'T>)
Public Function Round(Of T As IFloatingPoint(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)
Parametri di tipo
- T
Parametri
- destination
- TensorSpan<T>
Restituisce
Si applica a
.NET 10 (package-provided) e altre versioni
Prodotto | Versioni |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
- Origine:
- TensorExtensions.cs
- Origine:
- TensorExtensions.cs
Calcola l'arrotondamento a livello di elemento dei numeri nel tensore specificato
public:
generic <typename T>
where T : System::Numerics::IFloatingPoint<T> static System::Numerics::Tensors::Tensor<T> ^ Round(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, int digits, MidpointRounding mode);
public static System.Numerics.Tensors.Tensor<T> Round<T>(in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, int digits, MidpointRounding mode) where T : System.Numerics.IFloatingPoint<T>;
static member Round : ReadOnlyTensorSpan * int * MidpointRounding -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IFloatingPoint<'T>)> (requires 'T :> System.Numerics.IFloatingPoint<'T>)
Public Function Round(Of T As IFloatingPoint(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), digits As Integer, mode As MidpointRounding) As Tensor(Of T)
Parametri di tipo
- T
Parametri
- digits
- Int32
- mode
- MidpointRounding
Restituisce
Si applica a
.NET 10 (package-provided) e altre versioni
Prodotto | Versioni |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
- Origine:
- TensorExtensions.cs
- Origine:
- TensorExtensions.cs
Calcola l'arrotondamento a livello di elemento dei numeri nel tensore specificato
public:
generic <typename T>
where T : System::Numerics::IFloatingPoint<T> static System::Numerics::Tensors::TensorSpan<T> ^ Round(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, int digits, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> Round<T>(scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, int digits, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.IFloatingPoint<T>;
static member Round : ReadOnlyTensorSpan * int * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.IFloatingPoint<'T>)
Public Function Round(Of T As IFloatingPoint(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), digits As Integer, ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)
Parametri di tipo
- T
Parametri
- digits
- Int32
- destination
- TensorSpan<T>
Restituisce
Si applica a
.NET 10 (package-provided) e altre versioni
Prodotto | Versioni |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
- Origine:
- TensorExtensions.cs
- Origine:
- TensorExtensions.cs
Calcola l'arrotondamento a livello di elemento dei numeri nel tensore specificato
public:
generic <typename T>
where T : System::Numerics::IFloatingPoint<T> static System::Numerics::Tensors::TensorSpan<T> ^ Round(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, MidpointRounding mode, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> Round<T>(scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, MidpointRounding mode, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.IFloatingPoint<T>;
static member Round : ReadOnlyTensorSpan * MidpointRounding * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.IFloatingPoint<'T>)
Public Function Round(Of T As IFloatingPoint(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), mode As MidpointRounding, ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)
Parametri di tipo
- T
Parametri
- mode
- MidpointRounding
- destination
- TensorSpan<T>
Restituisce
Si applica a
.NET 10 (package-provided) e altre versioni
Prodotto | Versioni |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
- Origine:
- TensorExtensions.cs
- Origine:
- TensorExtensions.cs
Calcola l'arrotondamento a livello di elemento dei numeri nel tensore specificato
public:
generic <typename T>
where T : System::Numerics::IFloatingPoint<T> static System::Numerics::Tensors::TensorSpan<T> ^ Round(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, int digits, MidpointRounding mode, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> Round<T>(scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, int digits, MidpointRounding mode, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.IFloatingPoint<T>;
static member Round : ReadOnlyTensorSpan * int * MidpointRounding * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.IFloatingPoint<'T>)
Public Function Round(Of T As IFloatingPoint(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), digits As Integer, mode As MidpointRounding, ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)
Parametri di tipo
- T
Parametri
- digits
- Int32
- mode
- MidpointRounding
- destination
- TensorSpan<T>
Restituisce
Si applica a
.NET 10 (package-provided) e altre versioni
Prodotto | Versioni |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
Feedback su .NET
.NET è un progetto di open source. Selezionare un collegamento per fornire feedback:
Risorse aggiuntive
In questo articolo
- Definizione
- Overload
- Round<T>(ReadOnlyTensorSpan<T>)
- Round<T>(ReadOnlyTensorSpan<T>, Int32)
- Round<T>(ReadOnlyTensorSpan<T>, MidpointRounding)
- Round<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)
- Round<T>(ReadOnlyTensorSpan<T>, Int32, MidpointRounding)
- Round<T>(ReadOnlyTensorSpan<T>, Int32, TensorSpan<T>)
- Round<T>(ReadOnlyTensorSpan<T>, MidpointRounding, TensorSpan<T>)
- Round<T>(ReadOnlyTensorSpan<T>, Int32, MidpointRounding, TensorSpan<T>)