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
).