Skip to main content

sec

Function sec 

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

The secant of an angle.

  • cos the cosine of the angle.

returns the secant or None if cos < SQ_EPSILON