Function qsym2::angmom::spinor_rotation_3d::dmat_angleaxis_gen

source ·
pub fn dmat_angleaxis_gen(
    twoj: u32,
    angle: f64,
    axis: Vector3<f64>,
    increasingm: bool,
) -> Array2<Complex<f64>>
Expand description

Returns the Wigner rotation matrix in the angle-axis parametrisation for any integral or half-integral $j$ whose elements are defined by

\hat{R}(\phi\hat{\mathbf{n}}) \ket{jm}
= \sum_{m'} \ket{jm'} D^{(j)}_{m'm}(\phi\hat{\mathbf{n}}).

§Arguments

  • twoj - Two times the angular momentum $2j$. If this is even, $j$ is integral; otherwise, $j$ is half-integral.
  • angle - The angle $\phi$ of the rotation in radians. A positive rotation is an anticlockwise rotation when looking down axis.
  • axis - A space-fixed vector defining the axis of rotation. The supplied vector will be normalised.
  • increasingm - If true, the rows and columns of $\mathbf{D}^{(1/2)}$ are arranged in increasing order of $m_l = -l, \ldots, l$. If false, the order is reversed: $m_l = l, \ldots, -l$. The recommended default is false, in accordance with convention.

§Returns

The matrix $\mathbf{D}^{(j)}(\phi\hat{\mathbf{n}})$.