Expand description
Special functions following jax.scipy.special, with NumPy’s
broadcasting.
§Examples
use ruxla_core::scipy::special;
use ruxla_core::{Array, Native};
let x = Array::<Native, f64>::from_vec(vec![1.0, 4.0], [2]);
let lg = special::gammaln(&x).to_vec();
assert!(lg[0].abs() < 1e-12);
assert!((lg[1] - 6f64.ln()).abs() < 1e-12);Functions§
- betainc
- The regularized incomplete beta function
I_x(a, b). - digamma
- The digamma function.
- erf
- The error function.
- erfc
- The complementary error function.
- erfinv
- The inverse error function.
- gammainc
- The regularized lower incomplete gamma function
P(a, x). - gammaincc
- The regularized upper incomplete gamma function
Q(a, x). - gammaln
- The logarithm of the absolute value of the gamma function.
- i0e
- The exponentially scaled modified Bessel function of order 0.
- i1e
- The exponentially scaled modified Bessel function of order 1.
- polygamma
- The polygamma function
psi^(n)(x)(na natural number). - zeta
- The Hurwitz zeta function
zeta(x, q).