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以的反正切x,除以pi

实现

注解

此计算arctan(y / x) / π间隔 。[-1, +1]

适用于