fun

This module contains an assortment of functions that arise in scientific computing.

betaincinv(a, b, y[, method, complement])

Inverse of the regularized incomplete beta function.

cmarcumq(m, a, b)

The "complementary" Marcum Q function.

debye(x, *, n[, method])

Compute the Debye function D_n(x).

digammainv(y)

Inverse of the digamma function (real values only).

inv_pow1pm1(t, y)

Inverse with respect to x of pow1pm1(x, y).

inv_powm1(t, y)

Inverse with respect to x of mpmath.powm1(x, y).

logbeta(x, y)

Natural logarithm of \(B(x, y)\).

logbinomial(n, k)

Natural logarithm of binomial(n, k).

logsumexp(logs[, weights])

Compute the log of the sum of exponentials of the input sequence.

marcumq(m, a, b)

The Marcum Q function.

multivariate_logbeta(alpha)

Logarithm of the multivariate beta function.

pow1pm1(x, y)

Compute \((1 + x)^y - 1\).

roots_legendre(n)

Compute the roots of the Legendre polynomial, and quadrature weights.

wright_bessel(z, rho, beta)

Wright's generalized Bessel function.

xlog1py(x, y)

\(x\textrm{log}(1+y)\)

xlogy(x, y)

\(x\textrm{log}(y)\)