time-to-botec

Benchmark sampling in different programming languages
Log | Files | Refs | README

repl.txt (665B)


      1 
      2 {{alias}}( x )
      3     Computes the inverse hyperbolic cotangent of a number.
      4 
      5     The domain of the inverse hyperbolic cotangent is the union of the intervals
      6     (-inf,-1] and [1,inf).
      7 
      8     If provided a value on the open interval (-1,1), the function returns `NaN`.
      9 
     10     Parameters
     11     ----------
     12     x: number
     13         Input value.
     14 
     15     Returns
     16     -------
     17     y: number
     18         Inverse hyperbolic cotangent (in radians).
     19 
     20     Examples
     21     --------
     22     > var y = {{alias}}( 2.0 )
     23     ~0.5493
     24     > y = {{alias}}( 0.0 )
     25     NaN
     26     > y = {{alias}}( 0.5 )
     27     NaN
     28     > y = {{alias}}( 1.0 )
     29     Infinity
     30     > y = {{alias}}( NaN )
     31     NaN
     32 
     33     See Also
     34     --------
     35