MathLib.artanh()

MathLib.artanh() calculates the inverse hyperbolic tangent of a number. \[ \text{MathLib.artanh}(x) = \operatorname{artanh}(x) \]

Specification

MathLib.artanh 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.artanh(NaN) = NaN
  2. MathLib.artanh(+0) = +0
  3. MathLib.artanh(-0) = -0
  4. MathLib.artanh(+∞) = NaN
  5. MathLib.artanh(-∞) = NaN
  6. MathLib.artanh(1) = +∞
  7. MathLib.artanh(-1) = -∞
  8. MathLib.artanh(x) = NaN if x < -1 or x > 1
  9. otherwise MathLib.artanh(x) = inverse hyperbolic tangent of x

Tests

Categories: unary Function