TensorPrimitives.Atan2 方法

定义

重载

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

计算指定张量中两个值的商的元素-顺弧正切值。

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

计算指定张量中两个值的商的元素-顺弧正切值。

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

计算指定张量中两个值的商的元素-顺弧正切值。

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

Source:
TensorPrimitives.Atan2.cs
Source:
TensorPrimitives.Atan2.cs

计算指定张量中两个值的商的元素-顺弧正切值。

public:
generic <typename T>
 where T : System::Numerics::IFloatingPointIeee754<T> static void Atan2(T y, ReadOnlySpan<T> x, Span<T> destination);
public static void Atan2<T> (T y, ReadOnlySpan<T> x, Span<T> destination) where T : System.Numerics.IFloatingPointIeee754<T>;
static member Atan2 : '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 Atan2(Of T As IFloatingPointIeee754(Of T)) (y As T, x As ReadOnlySpan(Of T), destination As Span(Of T))

类型参数

T

参数

y
T

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

x
ReadOnlySpan<T>

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

destination
Span<T>

目标张量,表示为范围。

例外

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

注解

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

此方法可以调用基础 C 运行时,或使用特定于当前体系结构的说明。 不同的操作系统或体系结构之间的确切结果可能有所不同。

适用于

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

Source:
TensorPrimitives.Atan2.cs
Source:
TensorPrimitives.Atan2.cs

计算指定张量中两个值的商的元素-顺弧正切值。

public:
generic <typename T>
 where T : System::Numerics::IFloatingPointIeee754<T> static void Atan2(ReadOnlySpan<T> y, ReadOnlySpan<T> x, Span<T> destination);
public static void Atan2<T> (ReadOnlySpan<T> y, ReadOnlySpan<T> x, Span<T> destination) where T : System.Numerics.IFloatingPointIeee754<T>;
static member Atan2 : 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 Atan2(Of T As IFloatingPointIeee754(Of T)) (y As ReadOnlySpan(Of T), x As ReadOnlySpan(Of T), destination As Span(Of T))

类型参数

T

参数

y
ReadOnlySpan<T>

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

x
ReadOnlySpan<T>

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

destination
Span<T>

目标张量,表示为范围。

例外

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

注解

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

此方法可以调用基础 C 运行时,或使用特定于当前体系结构的说明。 不同的操作系统或体系结构之间的确切结果可能有所不同。

适用于

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

Source:
TensorPrimitives.Atan2.cs
Source:
TensorPrimitives.Atan2.cs

计算指定张量中两个值的商的元素-顺弧正切值。

public:
generic <typename T>
 where T : System::Numerics::IFloatingPointIeee754<T> static void Atan2(ReadOnlySpan<T> y, T x, Span<T> destination);
public static void Atan2<T> (ReadOnlySpan<T> y, T x, Span<T> destination) where T : System.Numerics.IFloatingPointIeee754<T>;
static member Atan2 : 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 Atan2(Of T As IFloatingPointIeee754(Of T)) (y As ReadOnlySpan(Of T), x As T, destination As Span(Of T))

类型参数

T

参数

y
ReadOnlySpan<T>

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

x
T

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

destination
Span<T>

目标张量,表示为范围。

例外

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

注解

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

此方法可以调用基础 C 运行时,或使用特定于当前体系结构的说明。 不同的操作系统或体系结构之间的确切结果可能有所不同。

适用于