pub fn pbdn_seq(n: i32, z: Complex64) -> (Vec<Complex64>, Vec<Complex64>)Expand description
Parabolic cylinder functions $D_n(z)$ and their derivatives for the orders $0, \ldots, n$
Corresponds to scipy.special.pbdn_seq, and uses a translation of
xsf::specfun::cpbdn.
§Arguments
n: Integer orderz: Complex argument
§Returns
dv: Values of $D_i(z)$ for $i = 0, 1, \ldots, n$, or $i = 0, -1, \ldots, n$ if $n < 0$dp: Derivatives $D_i'(z)$ for the same orders
Like in SciPy, both vectors also contain $D_1(z)$ if $n = 0$.
Unlike in SciPy, the results are also correct for non-real $z$, and both vectors have length $|n| + 1$ if $n < 0$, where SciPy returns $D_1(z)$ in place of $D_{-1}(z)$ for $n = -1$, and 3 values for $n < -1$.
§See also
§Panics
- Panics if $n \le -2^{31} + 100$