pub fn pbdv_seq(v: f64, x: f64) -> (Vec<f64>, Vec<f64>)Expand description
Parabolic cylinder functions $D_v(x)$ and their derivatives for a sequence of orders
Corresponds to scipy.special.pbdv_seq. Unlike in SciPy, which can lose all
accuracy for $x < -5.8$ (scipy/xsf#374), this is about as accurate as pbdv.
§Arguments
v: Order as a non-negative real numberx: Real argument
§Returns
dv: Values of $D_{v_i}(x)$ for $v_i = v_0, v_0+1, \ldots, v_0+n$dp: Derivatives $D_{v_i}'(x)$ for $v_i = v_0, v_0+1, \ldots, v_0+n$
with $v_0 = v - \lfloor v\rfloor$ and $n = \max(\lfloor v\rfloor, 1)$, i.e. like in SciPy, both vectors also contain $D_{v+1}(x)$ if $v < 1$.
§See also
§Panics
- Panics if
vis negative (where SciPy returns other orders) or NaN - Panics if
vis too large to convert toc_int