pub trait ArrayInstanceSum<T>: ArrayInstance where
    T: HasAfEnum,
    T::AggregateOutType: DType
{ type Sum: HasAfEnum; fn sum(&self) -> T::AggregateOutType; fn sum_dtype() -> NumberType { ... } }
Expand description

Defines common reduction operation sum.

Required Associated Types

Required Methods

Calculate the cumulative sum.

Provided Methods

The NumberType of the sum of this array.

Implementors