System.Math.Secant
Delphi
function Secant(const X: Single): Single;
function Secant(const X: Double): Double;
function Secant(const X: Extended): Extended;
C++
extern DELPHI_PACKAGE float __fastcall Secant(const float X)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Math.pas System.Math.hpp |
System.Math | System.Math |
Description
Calculates the secant of an angle.
Call Secant to obtain the secant of X, where X is an angle in radians. The secant is calculated using the formula 1 / Cos(X).