pub fn sh_cart2r(
lcart: u32,
cartorder: &CartOrder,
csphase: bool,
pureorder: fn(u32) -> PureOrder,
) -> Vec<Array2<f64>> ⓘExpand description
Returns a list of $\mathbf{X}^{(l, l_{\mathrm{cart}})}$ for
$l_{\mathrm{cart}} \ge l \ge 0$ and $l \equiv l_{\mathrm{cart}} \mod 2$.
$\mathbf{X}^{(l, l_{\mathrm{cart}})}$ is defined in sh_cart2rl_mat.
§Arguments
lcart- The total Cartesian degree for the Cartesian Gaussians and also for the radial part of the solid harmonic Gaussian.cartorder- ACartOrderstruct giving the ordering of the components of the Cartesian Gaussians.csphase- Set totrueto use the Condon–Shortley phase in the calculations of the $c^{-1}$ coefficients. Seecomplexcandcomplexcinvfor more details.pureorder- A closure to generate aPureOrderstruct giving the ordering of the components of the pure Gaussians for a particular value ofl.
§Returns
A vector of $\mathbf{X}^{(l, l_{\mathrm{cart}})}$ matrices with
$l_{\mathrm{cart}} \ge l \ge 0$ and $l \equiv l_{\mathrm{cart}} \mod 2$ in decreasing
$l$ order.