Skip to main content

map_arithmetic

Function map_arithmetic 

Source
pub fn map_arithmetic(
    schema: &SeriesSchema,
    series: &Series,
    op: ArithmeticOp,
    scalar: ScalarOperand,
) -> Result<Series>
Expand description

Applies arithmetic against a constant scalar to every field and drops the metric name.

Same contract as map_math, except that histogram samples are rejected.