pub fn cartesian_translation(
to: Mode,
from: Mode,
k: Complex,
position: [f64; 3],
radial: Radial,
) -> Result<CartesianTranslation>Expand description
Translation coefficient of the source mode from to the destination mode to, with
its derivatives.
position is the destination position minus the source position. Distinct axial
wavenumbers and polarizations decouple, and singular waves give zero at the origin.
treams-rs extension: the Cartesian single-pair jet behind the expansion matrices and
the tests of the polar coefficients; treams.cw.translate takes polar arguments.