combine

Function combine 

Source
fn combine<const DERIVATIVES: bool>(
    [n, m]: &[VectorWave; 2],
    normalization: Complex,
    [weight_n, weight_m]: [f64; 2],
) -> VectorWave
Expand description

The wave normalization (weight_n N + weight_m M) of the value and requested derivatives. The part m from spherical_parts is -M, so it enters with a minus sign.