MathLib.sech()

MathLib.sech() calculates the hyperbolic secant of a number. \[ \text{MathLib.sech}(x) = \operatorname{sech}(x) \]

Specification

MathLib.sech accepts one argument. Any additional arguments will be ignored. The type of the argument should be number. For other argument types see the unary function specification.
  1. MathLib.sech(NaN) = NaN
  2. MathLib.sech(+∞) = +0
  3. MathLib.sech(-∞) = +0
  4. otherwise MathLib.sech(x) = hyperbolic secant of x

Tests

Categories: unary Function