pub fn jahnke_emden_lambda<V: Into<f64>>(v: V, x: f64) -> (Vec<f64>, Vec<f64>)Expand description
Evaluate the Jahnke-Emden Lambda function $\Lambda_v(x)$ and its derivatives
The Jahnke-Emden Lambda function is defined as
$$\Lambda_v(x) = \Gamma(v+1) \left({2 \over x}\right)^v J_v(x)$$
where $\Gamma$ is the Gamma function and $J_v$ is the Bessel function of the first kind.
Corresponds to scipy.special.lmbda in SciPy, and uses translations of
xsf::specfun::lamn and xsf::specfun::lamv.
§Arguments
v: Order of the Lambda function as a non-negative real numberx: Value at which to evaluate the function and derivatives
§Returns
vl: Values of $\Lambda_{v_i}(x)$ for $v_i = v-\lfloor v\rfloor, v-\lfloor v\rfloor+1, \ldots, v$dl: Derivatives $\Lambda_{v_i}'(x)$ for $v_i = v-\lfloor v\rfloor, v-\lfloor v\rfloor+1, \ldots, v$
Both vectors have length $\lfloor v\rfloor+1$, i.e. (v as usize) + 1.
They are all NaN if x is NaN or if $|x| > 10^9$.
§See also
§Panics
- Panics if
vis negative - Panics if
vis too large to convert toc_int