NFloat.Atan2Pi(NFloat, NFloat) 方法

定义

计算两个值的商的反正切值,并将结果除以 pi

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

参数

y
NFloat

点的 y 坐标。

x
NFloat

点的 x 坐标。

返回

除以 的y反正切值,除以 pix

实现

注解

这会在间隔 [-1, +1]中计算arctan(y / x) / π

适用于