Skip to main content

cot

Function cot 

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

The cotangent of an angle.

  • sin the sine of the angle.

returns the cotangent or None if sin < SQ_EPSILON