pub fn sh_r2cart(
lcart: u32,
cartorder: &CartOrder,
csphase: bool,
pureorder: fn(u32) -> PureOrder,
) -> Vec<Array2<f64>> ⓘExpand description
Returns a list of $\mathbf{W}^{(l_{\mathrm{cart}}, l)}$ for
$l_{\mathrm{cart}} \ge l \ge 0$ and $l \equiv l_{\mathrm{cart}} \mod 2$.
$\mathbf{W}^{(l_{\mathrm{cart}}, l)}$ is defined in sh_rl2cart_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$ coefficients. Seecomplexcfor 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{W}^{(l_{\mathrm{cart}}, l)}$ matrices with
$l_{\mathrm{cart}} \ge l \ge 0$ and $l \equiv l_{\mathrm{cart}} \mod 2$ in decreasing
$l$ order.