System.Math.Cotan
Delphi
function CoTan(const X: Single): Single;
function CoTan(const X: Double): Double;
function CoTan(const X: Extended): Extended;
C++
extern DELPHI_PACKAGE float __fastcall Cotan(const float X)/* overload */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Math.pas System.Math.hpp |
System.Math | System.Math |
説明
角度の余接を計算します。
Cotan を呼び出すと、X の余接を取得できます。余接は以下の式で計算されます。
1 / Tan(X)
メモ: X = 0 で Cotan を呼び出さないでください。