ReductionOps

Trait ReductionOps 

Source
pub trait ReductionOps {
    // Required methods
    fn sum(&self) -> Self;
    fn sum_axis(&self, axis: usize) -> Self;
    fn product(&self) -> Self;
    fn mean(&self) -> Self;
}

Required Methods§

Source

fn sum(&self) -> Self

Source

fn sum_axis(&self, axis: usize) -> Self

Source

fn product(&self) -> Self

Source

fn mean(&self) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§