Trait ha_ndarray::ops::ReduceAll

source ·
pub trait ReduceAll<A, T>: PlatformInstance {
    // Required methods
    fn all(self, access: A) -> Result<bool, Error>;
    fn any(self, access: A) -> Result<bool, Error>;
    fn max(self, access: A) -> Result<T, Error>;
    fn min(self, access: A) -> Result<T, Error>;
    fn product(self, access: A) -> Result<T, Error>;
    fn sum(self, access: A) -> Result<T, Error>;
}

Required Methods§

source

fn all(self, access: A) -> Result<bool, Error>

source

fn any(self, access: A) -> Result<bool, Error>

source

fn max(self, access: A) -> Result<T, Error>

source

fn min(self, access: A) -> Result<T, Error>

source

fn product(self, access: A) -> Result<T, Error>

source

fn sum(self, access: A) -> Result<T, Error>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<A, T> ReduceAll<A, T> for Heap
where A: Access<T>, T: CType,

source§

impl<A, T> ReduceAll<A, T> for Stack
where A: Access<T>, T: CType,

source§

impl<A: Access<T>, T: CType> ReduceAll<A, T> for Platform

source§

impl<A: Access<T>, T: CType> ReduceAll<A, T> for Host