Tensor.Round Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
Round<T>(ReadOnlyTensorSpan<T>) |
Berechnet die elementweise Rundung der Zahlen im angegebenen Tensor. |
Round<T>(ReadOnlyTensorSpan<T>, Int32) |
Berechnet die elementweise Rundung der Zahlen im angegebenen Tensor. |
Round<T>(ReadOnlyTensorSpan<T>, MidpointRounding) |
Berechnet die elementweise Rundung der Zahlen im angegebenen Tensor. |
Round<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>) |
Berechnet die elementweise Rundung der Zahlen im angegebenen Tensor. |
Round<T>(ReadOnlyTensorSpan<T>, Int32, MidpointRounding) |
Berechnet die elementweise Rundung der Zahlen im angegebenen Tensor. |
Round<T>(ReadOnlyTensorSpan<T>, Int32, TensorSpan<T>) |
Berechnet die elementweise Rundung der Zahlen im angegebenen Tensor. |
Round<T>(ReadOnlyTensorSpan<T>, MidpointRounding, TensorSpan<T>) |
Berechnet die elementweise Rundung der Zahlen im angegebenen Tensor. |
Round<T>(ReadOnlyTensorSpan<T>, Int32, MidpointRounding, TensorSpan<T>) |
Berechnet die elementweise Rundung der Zahlen im angegebenen Tensor. |
Round<T>(ReadOnlyTensorSpan<T>)
- Quelle:
- TensorExtensions.cs
- Quelle:
- TensorExtensions.cs
Berechnet die elementweise Rundung der Zahlen im angegebenen Tensor.
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)
Typparameter
- T
Parameter
Die Eingabe ReadOnlyTensorSpan<T>.
Gibt zurück
Gilt für:
Round<T>(ReadOnlyTensorSpan<T>, Int32)
- Quelle:
- TensorExtensions.cs
- Quelle:
- TensorExtensions.cs
Berechnet die elementweise Rundung der Zahlen im angegebenen Tensor.
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)
Typparameter
- T
Parameter
Die Eingabe ReadOnlyTensorSpan<T>.
- digits
- Int32
Gibt zurück
Gilt für:
Round<T>(ReadOnlyTensorSpan<T>, MidpointRounding)
- Quelle:
- TensorExtensions.cs
- Quelle:
- TensorExtensions.cs
Berechnet die elementweise Rundung der Zahlen im angegebenen Tensor.
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)
Typparameter
- T
Parameter
Die Eingabe ReadOnlyTensorSpan<T>.
- mode
- MidpointRounding
Gibt zurück
Gilt für:
Round<T>(ReadOnlyTensorSpan<T>, TensorSpan<T>)
- Quelle:
- TensorExtensions.cs
- Quelle:
- TensorExtensions.cs
Berechnet die elementweise Rundung der Zahlen im angegebenen Tensor.
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)
Typparameter
- T
Parameter
Die Eingabe ReadOnlyTensorSpan<T>.
- destination
- TensorSpan<T>
Gibt zurück
Gilt für:
Round<T>(ReadOnlyTensorSpan<T>, Int32, MidpointRounding)
- Quelle:
- TensorExtensions.cs
- Quelle:
- TensorExtensions.cs
Berechnet die elementweise Rundung der Zahlen im angegebenen Tensor.
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)
Typparameter
- T
Parameter
Die Eingabe ReadOnlyTensorSpan<T>.
- digits
- Int32
- mode
- MidpointRounding
Gibt zurück
Gilt für:
Round<T>(ReadOnlyTensorSpan<T>, Int32, TensorSpan<T>)
- Quelle:
- TensorExtensions.cs
- Quelle:
- TensorExtensions.cs
Berechnet die elementweise Rundung der Zahlen im angegebenen Tensor.
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)
Typparameter
- T
Parameter
Die Eingabe ReadOnlyTensorSpan<T>.
- digits
- Int32
- destination
- TensorSpan<T>
Gibt zurück
Gilt für:
Round<T>(ReadOnlyTensorSpan<T>, MidpointRounding, TensorSpan<T>)
- Quelle:
- TensorExtensions.cs
- Quelle:
- TensorExtensions.cs
Berechnet die elementweise Rundung der Zahlen im angegebenen Tensor.
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)
Typparameter
- T
Parameter
Die Eingabe ReadOnlyTensorSpan<T>.
- mode
- MidpointRounding
- destination
- TensorSpan<T>
Gibt zurück
Gilt für:
Round<T>(ReadOnlyTensorSpan<T>, Int32, MidpointRounding, TensorSpan<T>)
- Quelle:
- TensorExtensions.cs
- Quelle:
- TensorExtensions.cs
Berechnet die elementweise Rundung der Zahlen im angegebenen Tensor.
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)
Typparameter
- T
Parameter
Die Eingabe ReadOnlyTensorSpan<T>.
- digits
- Int32
- mode
- MidpointRounding
- destination
- TensorSpan<T>