Function sech

Source
pub fn sech(radians: FLOAT) -> FLOAT
Expand description

Returns the hyperbolic secant of the argument given in radians

assert_eq(sech(0.0), 1.0);
assert_eq(sech(10.0), 1.0/cosh(10.0));
assert_eq(sech(pi/2), 1.0/cosh(pi/2));