TensorPrimitives.Ieee754Remainder 方法

定义

重载

Ieee754Remainder<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

计算指定张量中的数字的元素余数。

Ieee754Remainder<T>(ReadOnlySpan<T>, T, Span<T>)

计算指定张量中的数字的元素余数。

Ieee754Remainder<T>(T, ReadOnlySpan<T>, Span<T>)

计算指定张量中的数字的元素余数。

Ieee754Remainder<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Span<T>)

Source:
TensorPrimitives.Ieee754Remainder.cs

计算指定张量中的数字的元素余数。

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

类型参数

T

参数

x
ReadOnlySpan<T>

第一个张量,表示为范围。

y
ReadOnlySpan<T>

第二个张量,表示为范围。

destination
Span<T>

目标张量,表示为范围。

例外

ydestination 引用重叠的内存位置,并且不在同一位置开始。

注解

此方法有效地计算 destination[i] = T.Ieee754Remainder(x[i], y[i])

适用于

Ieee754Remainder<T>(ReadOnlySpan<T>, T, Span<T>)

Source:
TensorPrimitives.Ieee754Remainder.cs

计算指定张量中的数字的元素余数。

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

类型参数

T

参数

x
ReadOnlySpan<T>

第一个张量,表示为范围。

y
T

第二个张量,表示为标量。

destination
Span<T>

目标张量,表示为范围。

例外

xdestination 引用重叠的内存位置,并且不在同一位置开始。

注解

此方法有效地计算 destination[i] = T.Ieee754Remainder(x[i], y)

适用于

Ieee754Remainder<T>(T, ReadOnlySpan<T>, Span<T>)

Source:
TensorPrimitives.Ieee754Remainder.cs

计算指定张量中的数字的元素余数。

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

类型参数

T

参数

x
T

第一个张量,表示为标量。

y
ReadOnlySpan<T>

第二个张量,表示为范围。

destination
Span<T>

目标张量,表示为范围。

例外

ydestination 引用重叠的内存位置,并且不在同一位置开始。

注解

此方法有效地计算 destination[i] = T.Ieee754Remainder(x, y[i])

适用于