pub trait ArrayInstanceSum<T>: ArrayInstancewhere
    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§