Trait afarray::ArrayInstanceReduce[][src]

pub trait ArrayInstanceReduce: ArrayInstance {
    type Product: HasAfEnum;
    type Sum: HasAfEnum;
    fn product(&self) -> Self::Product;
fn sum(&self) -> Self::Sum; }
Expand description

Defines common reduction operations product and sum.

Associated Types

Required methods

Calculate the cumulative product.

Calculate the cumulative sum.

Implementors