angle_sc::trig

Function sec

Source
pub fn sec(cos: UnitNegRange) -> Option<f64>
Expand description

The secant of an angle.

  • cos the cosine of the angle.

returns the secant or None if cos < SQ_EPSILON