TensorPrimitives.DivRem Metodo
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
| Nome | Descrizione |
|---|---|
| DivRem<T>(ReadOnlySpan<T>, T, Span<T>, Span<T>) |
Calcola il quoziente a livello di elemento e il resto dei numeri nei tensori specificati. |
| DivRem<T>(T, ReadOnlySpan<T>, Span<T>, Span<T>) |
Calcola il quoziente a livello di elemento e il resto dei numeri nei tensori specificati. |
| DivRem<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>, Span<T>) |
Calcola il quoziente a livello di elemento e il resto dei numeri nei tensori specificati. |
DivRem<T>(ReadOnlySpan<T>, T, Span<T>, Span<T>)
- Origine:
- TensorPrimitives.DivRem.cs
- Origine:
- TensorPrimitives.DivRem.cs
Calcola il quoziente a livello di elemento e il resto dei numeri nei tensori specificati.
public:
generic <typename T>
where T : System::Numerics::IBinaryInteger<T> static void DivRem(ReadOnlySpan<T> x, T y, Span<T> quotientDestination, Span<T> remainderDestination);
public static void DivRem<T>(ReadOnlySpan<T> x, T y, Span<T> quotientDestination, Span<T> remainderDestination) where T : System.Numerics.IBinaryInteger<T>;
static member DivRem : ReadOnlySpan<'T (requires 'T :> System.Numerics.IBinaryInteger<'T>)> * 'T * Span<'T (requires 'T :> System.Numerics.IBinaryInteger<'T>)> * Span<'T (requires 'T :> System.Numerics.IBinaryInteger<'T>)> -> unit (requires 'T :> System.Numerics.IBinaryInteger<'T>)
Public Shared Sub DivRem(Of T As IBinaryInteger(Of T)) (x As ReadOnlySpan(Of T), y As T, quotientDestination As Span(Of T), remainderDestination As Span(Of T))
Parametri di tipo
- T
Parametri
Primo tensore, rappresentato come intervallo.
- y
- T
Secondo tensore, rappresentato come scalare.
- quotientDestination
- Span<T>
Tensore di destinazione quoziente, rappresentato come intervallo.
- remainderDestination
- Span<T>
Tensore di destinazione rimanente, rappresentato come intervallo.
Eccezioni
x e remainderDestination fare riferimento a percorsi di memoria sovrapposti e non iniziano nella stessa posizione.
T è un tipo integer ed y è uguale a zero.
Commenti
Questo metodo calcola (in modo efficace .quotientDestination[i], remainderDestination[i]) = T.DivRem(x[i], y)
Se uno dei valori di input per elemento è uguale a NaN, anche i valori per elemento risultanti sono NaN.
Si applica a
DivRem<T>(T, ReadOnlySpan<T>, Span<T>, Span<T>)
- Origine:
- TensorPrimitives.DivRem.cs
- Origine:
- TensorPrimitives.DivRem.cs
Calcola il quoziente a livello di elemento e il resto dei numeri nei tensori specificati.
public:
generic <typename T>
where T : System::Numerics::IBinaryInteger<T> static void DivRem(T x, ReadOnlySpan<T> y, Span<T> quotientDestination, Span<T> remainderDestination);
public static void DivRem<T>(T x, ReadOnlySpan<T> y, Span<T> quotientDestination, Span<T> remainderDestination) where T : System.Numerics.IBinaryInteger<T>;
static member DivRem : 'T * ReadOnlySpan<'T (requires 'T :> System.Numerics.IBinaryInteger<'T>)> * Span<'T (requires 'T :> System.Numerics.IBinaryInteger<'T>)> * Span<'T (requires 'T :> System.Numerics.IBinaryInteger<'T>)> -> unit (requires 'T :> System.Numerics.IBinaryInteger<'T>)
Public Shared Sub DivRem(Of T As IBinaryInteger(Of T)) (x As T, y As ReadOnlySpan(Of T), quotientDestination As Span(Of T), remainderDestination As Span(Of T))
Parametri di tipo
- T
Parametri
- x
- T
Primo tensore, rappresentato come scalare.
Secondo tensore, rappresentato come intervallo.
- quotientDestination
- Span<T>
Tensore di destinazione quoziente, rappresentato come intervallo.
- remainderDestination
- Span<T>
Tensore di destinazione rimanente, rappresentato come intervallo.
Eccezioni
y e remainderDestination fare riferimento a percorsi di memoria sovrapposti e non iniziano nella stessa posizione.
T è un tipo integer e un elemento in y è uguale a zero.
Commenti
Questo metodo calcola (in modo efficace .quotientDestination[i], remainderDestination[i]) = T.DivRem(x, y[i])
Se uno dei valori di input per elemento è uguale a NaN, anche i valori per elemento risultanti sono NaN.
Si applica a
DivRem<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>, Span<T>)
- Origine:
- TensorPrimitives.DivRem.cs
- Origine:
- TensorPrimitives.DivRem.cs
Calcola il quoziente a livello di elemento e il resto dei numeri nei tensori specificati.
public:
generic <typename T>
where T : System::Numerics::IBinaryInteger<T> static void DivRem(ReadOnlySpan<T> x, ReadOnlySpan<T> y, Span<T> quotientDestination, Span<T> remainderDestination);
public static void DivRem<T>(ReadOnlySpan<T> x, ReadOnlySpan<T> y, Span<T> quotientDestination, Span<T> remainderDestination) where T : System.Numerics.IBinaryInteger<T>;
static member DivRem : ReadOnlySpan<'T (requires 'T :> System.Numerics.IBinaryInteger<'T>)> * ReadOnlySpan<'T (requires 'T :> System.Numerics.IBinaryInteger<'T>)> * Span<'T (requires 'T :> System.Numerics.IBinaryInteger<'T>)> * Span<'T (requires 'T :> System.Numerics.IBinaryInteger<'T>)> -> unit (requires 'T :> System.Numerics.IBinaryInteger<'T>)
Public Shared Sub DivRem(Of T As IBinaryInteger(Of T)) (x As ReadOnlySpan(Of T), y As ReadOnlySpan(Of T), quotientDestination As Span(Of T), remainderDestination As Span(Of T))
Parametri di tipo
- T
Parametri
Primo tensore, rappresentato come intervallo.
Secondo tensore, rappresentato come intervallo.
- quotientDestination
- Span<T>
Tensore di destinazione quoziente, rappresentato come intervallo.
- remainderDestination
- Span<T>
Tensore di destinazione rimanente, rappresentato come intervallo.
Eccezioni
x o y e remainderDestination fare riferimento a percorsi di memoria sovrapposti e non iniziano nella stessa posizione.
T è un tipo integer e un elemento in y è uguale a zero.
Commenti
Questo metodo calcola (in modo efficace .quotientDestination[i], remainderDestination[i]) = T.DivRem(x[i], y[i])
Se uno dei valori di input per elemento è uguale a NaN, anche i valori per elemento risultanti sono NaN.