TensorPrimitives.Ieee754Remainder Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Ieee754Remainder<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>) |
Computes the element-wise remainder of the numbers in the specified tensors. |
Ieee754Remainder<T>(ReadOnlySpan<T>, T, Span<T>) |
Computes the element-wise remainder of the numbers in the specified tensors. |
Ieee754Remainder<T>(T, ReadOnlySpan<T>, Span<T>) |
Computes the element-wise remainder of the numbers in the specified tensors. |
Ieee754Remainder<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)
Computes the element-wise remainder of the numbers in the specified tensors.
public:
generic <typename T>
where T : System::Numerics::IFloatingPointIeee754<T> static void Ieee754Remainder(ReadOnlySpan<T> x, ReadOnlySpan<T> y, Span<T> destination);
public static void Ieee754Remainder<T> (ReadOnlySpan<T> x, ReadOnlySpan<T> y, Span<T> destination) where T : System.Numerics.IFloatingPointIeee754<T>;
static member Ieee754Remainder : ReadOnlySpan<'T (requires 'T :> System.Numerics.IFloatingPointIeee754<'T>)> * ReadOnlySpan<'T (requires 'T :> System.Numerics.IFloatingPointIeee754<'T>)> * Span<'T (requires 'T :> System.Numerics.IFloatingPointIeee754<'T>)> -> unit (requires 'T :> System.Numerics.IFloatingPointIeee754<'T>)
Public Shared Sub Ieee754Remainder(Of T As IFloatingPointIeee754(Of T)) (x As ReadOnlySpan(Of T), y As ReadOnlySpan(Of T), destination As Span(Of T))
Type Parameters
- T
Parameters
The first tensor, represented as a span.
The second tensor, represented as a span.
- destination
- Span<T>
The destination tensor, represented as a span.
Exceptions
Length of x
must be same as length of y
.
-or-
Destination is too short.
-or-
x
and destination
reference overlapping memory locations and do not begin at the same location.
-or-
y
and destination
reference overlapping memory locations and do not begin at the same location.
Remarks
This method effectively computes
.destination
[i] = T.Ieee754Remainder(x
[i], y
[i])
Applies to
Ieee754Remainder<T>(ReadOnlySpan<T>, T, Span<T>)
Computes the element-wise remainder of the numbers in the specified tensors.
public:
generic <typename T>
where T : System::Numerics::IFloatingPointIeee754<T> static void Ieee754Remainder(ReadOnlySpan<T> x, T y, Span<T> destination);
public static void Ieee754Remainder<T> (ReadOnlySpan<T> x, T y, Span<T> destination) where T : System.Numerics.IFloatingPointIeee754<T>;
static member Ieee754Remainder : ReadOnlySpan<'T (requires 'T :> System.Numerics.IFloatingPointIeee754<'T>)> * 'T * Span<'T (requires 'T :> System.Numerics.IFloatingPointIeee754<'T>)> -> unit (requires 'T :> System.Numerics.IFloatingPointIeee754<'T>)
Public Shared Sub Ieee754Remainder(Of T As IFloatingPointIeee754(Of T)) (x As ReadOnlySpan(Of T), y As T, destination As Span(Of T))
Type Parameters
- T
Parameters
The first tensor, represented as a span.
- y
- T
The second tensor, represented as a scalar.
- destination
- Span<T>
The destination tensor, represented as a span.
Exceptions
Length of x
must be same as length of y
.
-or
Destination is too short.
-or-
x
and destination
reference overlapping memory locations and do not begin at the same location.
Remarks
This method effectively computes
.destination
[i] = T.Ieee754Remainder(x
[i], y
)
Applies to
Ieee754Remainder<T>(T, ReadOnlySpan<T>, Span<T>)
Computes the element-wise remainder of the numbers in the specified tensors.
public:
generic <typename T>
where T : System::Numerics::IFloatingPointIeee754<T> static void Ieee754Remainder(T x, ReadOnlySpan<T> y, Span<T> destination);
public static void Ieee754Remainder<T> (T x, ReadOnlySpan<T> y, Span<T> destination) where T : System.Numerics.IFloatingPointIeee754<T>;
static member Ieee754Remainder : 'T * ReadOnlySpan<'T (requires 'T :> System.Numerics.IFloatingPointIeee754<'T>)> * Span<'T (requires 'T :> System.Numerics.IFloatingPointIeee754<'T>)> -> unit (requires 'T :> System.Numerics.IFloatingPointIeee754<'T>)
Public Shared Sub Ieee754Remainder(Of T As IFloatingPointIeee754(Of T)) (x As T, y As ReadOnlySpan(Of T), destination As Span(Of T))
Type Parameters
- T
Parameters
- x
- T
The first tensor, represented as a scalar.
The second tensor, represented as a span.
- destination
- Span<T>
The destination tensor, represented as a span.
Exceptions
Destination is too short.
-or
y
and destination
reference overlapping memory locations and do not begin at the same location.
Remarks
This method effectively computes
.destination
[i] = T.Ieee754Remainder(x
, y
[i])
Applies to
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir