cartesian_translation

Function cartesian_translation 

Source
pub fn cartesian_translation(
    to: Mode,
    from: Mode,
    k: Complex,
    displacement: [f64; 3],
    helicity: bool,
    radial: Radial,
) -> Result<CartesianTranslation>
Expand description

Translation coefficient of the source mode from to the destination mode to, with its derivatives.

displacement is the destination position minus the source position. Singular waves give zero at the origin and at subnormal displacements.

treams-rs extension: the Cartesian single-pair jet behind the expansion matrices and the tests of the polar coefficients; treams.sw.translate takes polar arguments.