time-to-botec

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

repl.txt (805B)


      1 
      2 {{alias}}( n, x )
      3     Evaluates the polygamma function of order `n`; i.e., the (n+1)th derivative
      4     of the natural logarithm of the gamma function.
      5 
      6     If `n` is not a nonnegative integer, the function returns `NaN`.
      7 
      8     If `x` is zero or a negative integer, the function returns `NaN`.
      9 
     10     If provided `NaN` as either parameter, the function returns `NaN`.
     11 
     12     Parameters
     13     ----------
     14     n: integer
     15         Derivative order.
     16 
     17     x: number
     18         Input value.
     19 
     20     Returns
     21     -------
     22     y: number
     23         Function value.
     24 
     25     Examples
     26     --------
     27     > var v = {{alias}}( 3, 1.2 )
     28     ~3.245
     29     > v = {{alias}}( 5, 1.2 )
     30     ~41.39
     31     > v = {{alias}}( 3, -4.9 )
     32     ~60014.239
     33     > v = {{alias}}( -1, 5.3 )
     34     NaN
     35     > v = {{alias}}( 2, -1.0 )
     36     Infinity
     37 
     38     See Also
     39     --------
     40