Trait SumKernel

Source
pub trait SumKernel: Encoding {
    // Required method
    fn sum(&self, array: &Self::Array) -> VortexResult<Scalar>;
}

Required Methods§

Source

fn sum(&self, array: &Self::Array) -> VortexResult<Scalar>

§Preconditions
  • The array’s DType is summable
  • The array is not all-null

Implementors§