NFloat.Atan2(NFloat, NFloat) 方法

定义

计算两个值的商的反正切值。

public:
 static System::Runtime::InteropServices::NFloat Atan2(System::Runtime::InteropServices::NFloat y, System::Runtime::InteropServices::NFloat x) = System::Numerics::IFloatingPointIeee754<System::Runtime::InteropServices::NFloat>::Atan2;
public static System.Runtime.InteropServices.NFloat Atan2 (System.Runtime.InteropServices.NFloat y, System.Runtime.InteropServices.NFloat x);
static member Atan2 : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat
Public Shared Function Atan2 (y As NFloat, x As NFloat) As NFloat

参数

y
NFloat

点的 y 坐标。

x
NFloat

点的 x 坐标。

返回

除以 xy反正切值。

实现

注解

这将以间隔[-π, +π]弧度计算arctan(y / x)

适用于