Trait polars_arrow::compute::aggregate::Sum

source ·
pub trait Sum<T> {
    // Required method
    fn simd_sum(self) -> T;
}
Available on crate feature compute_aggregate only.
Expand description

Object that can reduce itself to a number. This is used in the context of SIMD to reduce a MD (e.g. [f32; 16]) into a single number (f32).

Required Methods§

source

fn simd_sum(self) -> T

Reduces this element to a single value.

Implementors§