pub fn scale_expansion(e: &[f64], b: f64) -> Vec<f64>
Scale an expansion by a scalar, exactly.
Each component contributes a two-term product, so the result has at most twice as many components as the input.