pub fn dmat_angleaxis_gen_single(
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}}),
where the angle of rotation is ensured to be in the range $[-\pi, \pi]
$. In other words, for
half-odd-integer $j
$, this function only returns Wigner rotation matrices corresponding to
three-dimensional rotations connected to the identity via a homotopy path of class 0.
§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 downaxis
.axis
- A space-fixed vector defining the axis of rotation. The supplied vector will be normalised.increasingm
- Iftrue
, the rows and columns of $\mathbf{D}^{(1/2)}
$ are arranged in increasing order of $m_l = -l, \ldots, l
$. Iffalse
, the order is reversed: $m_l = l, \ldots, -l
$. The recommended default isfalse
, in accordance with convention.
§Returns
The matrix $\mathbf{D}^{(j)}(\phi\hat{\mathbf{n}})
$.