Breyta

Deila með


TensorPrimitives.Ieee754Remainder Method

Definition

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>)

Source:
TensorPrimitives.Ieee754Remainder.cs
Source:
TensorPrimitives.Ieee754Remainder.cs

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

x
ReadOnlySpan<T>

The first tensor, represented as a span.

y
ReadOnlySpan<T>

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>)

Source:
TensorPrimitives.Ieee754Remainder.cs
Source:
TensorPrimitives.Ieee754Remainder.cs

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

x
ReadOnlySpan<T>

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>)

Source:
TensorPrimitives.Ieee754Remainder.cs
Source:
TensorPrimitives.Ieee754Remainder.cs

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.

y
ReadOnlySpan<T>

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