module

special

38 members
lucid.special

`lucid.special` — special mathematical functions.

Functions

fnerfcxTensor

Scaled complementary error function.

fni0eTensor

Exponentially scaled modified Bessel function of order 0.

fni1Tensor

Modified Bessel function of the first kind, order 1.

fni1eTensor

Exponentially scaled modified Bessel function of order 1.

fnndtrTensor

Standard normal cumulative distribution function.

fnlog_ndtrTensor

Numerically stable logarithm of the standard normal CDF.

fnndtriTensor

Inverse standard normal CDF (probit / quantile function).

fnxlog1pyTensor

Safe product $x \log(1 + y)$ with limit-convention zero handling.

fnentrTensor

Element-wise entropy kernel $-x \log x$.

fnmultigammalnTensor

Logarithm of the multivariate gamma function $\Gamma_p(a)$.

fnpolygammaTensor

Polygamma function $\psi^{(n)}(x)$.

fnspherical_bessel_j0Tensor

Spherical Bessel function of the first kind, order 0.

fnchebyshev_polynomial_tTensor

Chebyshev polynomial of the first kind, $T_n(x)$.

fnchebyshev_polynomial_uTensor

Chebyshev polynomial of the second kind, $U_n(x)$.

fnchebyshev_polynomial_vTensor

Chebyshev polynomial of the third kind, $V_n(x)$.

fnchebyshev_polynomial_wTensor

Chebyshev polynomial of the fourth kind, $W_n(x)$.

fnshifted_chebyshev_polynomial_tTensor

Shifted Chebyshev T polynomial $T^*_n(x)$ on $[0, 1]$.

fnshifted_chebyshev_polynomial_uTensor

Shifted Chebyshev U polynomial $U^*_n(x)$ on $[0, 1]$.

fnshifted_chebyshev_polynomial_vTensor

Shifted Chebyshev V polynomial $V^*_n(x)$ on $[0, 1]$.

fnshifted_chebyshev_polynomial_wTensor

Shifted Chebyshev W polynomial $W^*_n(x)$ on $[0, 1]$.

fnhermite_polynomial_hTensor

Physicist's Hermite polynomial $H_n(x)$.

fnhermite_polynomial_heTensor

Probabilist's Hermite polynomial $\mathit{He}_n(x)$.

fnlegendre_polynomial_pTensor

Legendre polynomial $P_n(x)$.

fnlaguerre_polynomial_lTensor

Laguerre polynomial $L_n(x)$.

fnbessel_j0Tensor

Bessel function of the first kind, order 0.

fnbessel_j1Tensor

Bessel function of the first kind, order 1.

fnbessel_y0Tensor

Bessel function of the second kind, order 0.

fnbessel_y1Tensor

Bessel function of the second kind, order 1.

fnmodified_bessel_k0Tensor

Modified Bessel function of the second kind, order 0.

fnscaled_modified_bessel_k0Tensor

Exponentially scaled modified Bessel $K_0$: $e^x K_0(x)$.

fnmodified_bessel_k1Tensor

Modified Bessel function of the second kind, order 1.

fnscaled_modified_bessel_k1Tensor

Exponentially scaled modified Bessel $K_1$: $e^x K_1(x)$.

fnzetaTensor

Hurwitz zeta function $\zeta(x, q)$.

fngammalnTensor

Natural logarithm of the absolute value of the gamma function.

fnpsiTensor

Digamma function $\psi(x) = \frac{d}{dx} \log \Gamma(x)$.

fnexpitTensor

Logistic sigmoid (expit) function $\sigma(x)$.

fnmodified_bessel_i0Tensor

Modified Bessel function of the first kind, order 0.

fnmodified_bessel_i1Tensor

Modified Bessel function of the first kind, order 1.