pub fn permute_xyz(
vector: [Complex; 3],
destination: u8,
source: u8,
turns: usize,
helicity: bool,
) -> Result<Complex>Expand description
One cyclic-coordinate polarization coefficient without allocating a matrix: the
coefficient of polarization destination in the permuted plane wave for an input of
polarization source.
Upstream: treams.pw.permute_xyz; inverse=False is turns = 1 and inverse=True
is turns = 2.