IFloatingPointIeee754<TSelf>.Atan2Pi(TSelf, TSelf) Metode

Definisi

Menghitung tangen busur untuk kutipan dua nilai dan membagi hasilnya dengan pi.

public:
 static TSelf Atan2Pi(TSelf y, TSelf x);
public static abstract TSelf Atan2Pi (TSelf y, TSelf x);
static member Atan2Pi : 'Self * 'Self -> 'Self
Public Shared Function Atan2Pi (y As TSelf, x As TSelf) As TSelf

Parameter

y
TSelf

Koordinat y titik.

x
TSelf

Koordinat x titik.

Mengembalikan

TSelf

Tangen busur dibagi-dengan yx, dibagi dengan pi.

Keterangan

Ini menghitung arctan(y / x) / π dalam interval [-1, +1].

Berlaku untuk