Expand description

Low-level bindings to double-precision Cephes functions.

This provides access to the C function implemented in Cephes for maximum flexibility.

Functions

  • acos
    Inverse circular cosine.
  • Inverse hyperbolic cosine.
  • airy
    Airy function.
  • asin
    Inverse circular sine.
  • Inverse hyperbolic sine.
  • atan
    Inverse circular tangent.
  • Quadrant-correct inverse circular tangent.
  • Inverse hyperbolic tangent.
  • bdtr
    Binomial distribution.
  • Complemented binomial distribution.
  • Inverse of binomial distribution.
  • beta
    Beta function.
  • Beta distribution.
  • cbrt
    Cube root.
  • ceil
    Smallest integer greater than or equal to x.
  • Chi-square distribution.
  • Complemented chi-square distribution.
  • Inverse of complemented chi-square distribution.
  • cos
    Circular cosine.
  • cosh
    Hyperbolic cosine.
  • Compute accurately cos(x) - 1 for x close to 0.
  • Dawson’s integral.
  • ei
    Exponential integral.
  • Incomplete elliptic integral of the second kind.
  • Incomplete elliptic integral of the first kind.
  • Complete elliptic integral of the second kind.
  • Jacobian elliptic function.
  • Complete elliptic integral of the first kind.
  • erf
    Error function.
  • erfc
    Complementary error function.
  • exp
    Exponential function.
  • exp2
    Base 2 exponential function.
  • Base 10 exponential function.
  • Compute accurately exponential of squared argument.
  • Compute accurately exp(x) - 1 for x close to 0.
  • fabs
    Absolute value.
  • fac
    Factorial function.
  • fdtr
    F distribution.
  • Complemented F distribution.
  • Inverse of complemented F distribution.
  • Largest integer less than or equal to x.
  • Fresnel integral.
  • Return the significand between 0.5 and 1. Write exponent to expnt. x = y * 2**expn
  • Gamma function.
  • gdtr
    Gamma distribution.
  • Complemented gamma distribution.
  • Gauss hypergeometric function 2F1.
  • Confluent hypergeometric function 1F1.
  • i0
    Modified Bessel function of order zero.
  • i0e
    Modified Bessel function of order zero, exponentially scaled.
  • i1
    Modified Bessel function of order one.
  • i1e
    Modified Bessel function of order one, exponentially scaled.
  • igam
    Regularized incomplete gamma integral.
  • Complemented incomplete gamma integral.
  • Inverse of complemented incomplete gamma integral.
  • Regularized incomplete beta function.
  • Inverse of incomplete beta integral.
  • Return 1 if x is finite, else 0.
  • Return 1 if x is NaN, else 0.
  • iv
    Modified Bessel function of real order.
  • j0
    Bessel function of order zero.
  • j1
    Bessel function of order one.
  • jn
    Bessel function of integer order.
  • jv
    Bessel function of real order.
  • k0
    Modified Bessel function of the third kind, order zero.
  • k0e
    Modified Bessel function of the third kind, order zero, exponentially scaled.
  • k1
    Modified Bessel function of the third kind, order one.
  • k1e
    Modified Bessel function of the third kind, order one, exponentially scaled.
  • kn
    Modified Bessel function of the third kind, integer order.
  • Multiply x by 2**n.
  • lgam
    Natural logarithm of gamma function.
  • log
    Natural logarithm.
  • Compute accurately log(1 + x) for x close to 0.
  • log2
    Base 2 logarithm.
  • Common logarithm.
  • Integer square root.
  • Negative binomial distribution.
  • Complemented negative binomial distribution.
  • Inverse of negative binomial distribution.
  • ndtr
    Normal distribution.
  • Inverse of normal distribution.
  • Hypergeometric function 1F2.
  • pdtr
    Poisson distribution.
  • Complemented Poisson distribution.
  • Inverse of Poisson distribution.
  • Integral of Planck’s black body radiation formula.
  • pow
    Power function.
  • powi
    Integer power function.
  • psi
    Psi (digamma) function.
  • Reciprocal gamma function.
  • Round to nearest or event integer valued f64.
  • Hyperbolic sine and cosine integrals.
  • sici
    Sine and cosine integrals.
  • Return 1 if the sign bit of x is 1, else 0.
  • sin
    Circular sine.
  • sinh
    Hyperbolic sine.
  • Dilogarithm (Spence’s function).
  • sqrt
    Square root.
  • Student’s t distribution.
  • Inverse of Student’s t distribution.
  • Struve function.
  • tan
    Circular tangent.
  • tanh
    Hyperbolic tangent.
  • Hypergeometric function 3F0.
  • y0
    Bessel function of the second kind, order zero.
  • y1
    Bessel function of the second kind, order one.
  • yn
    Bessel function of the second kind, integer order.
  • yv
    Bessel function of the second kind, real order.
  • zeta
    Riemann zeta function of two arguments.
  • Riemann zeta function.