RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Math.Sec Function

Calculates the secant of an angle.

Pascal
function Sec(const X: Extended): Extended;
C++
Extended Sec(const Extended X);

Call Sec to obtain the secant of X, where X is an angle in radians. The secant is calculated using the formula 1 / Cos(X).

Note: Sec is identical to the Secant function.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!