語言

Double.Atan2Pi(Double, Double) 方法

定義

計算兩個值的商的弧切,並將結果除以 pi。

public:
 static double Atan2Pi(double y, double x) = System::Numerics::IFloatingPointIeee754<double>::Atan2Pi;
public static double Atan2Pi(double y, double x);
static member Atan2Pi : double * double -> double
Public Shared Function Atan2Pi (y As Double, x As Double) As Double

參數

y
Double

一個點的 y 座標。

x
Double

一個點的 x 座標。

傳回

的弧切線 y 除以 x,除以 pi。

實作

備註

此計算 arctan(y / x) / π 在區間 [-1, +1]內。

適用於