共用方式為


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

來源:
TensorPrimitives.Ieee754Remainder.cs
來源:
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>)

來源:
TensorPrimitives.Ieee754Remainder.cs
來源:
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>)

來源:
TensorPrimitives.Ieee754Remainder.cs
來源:
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])

適用於