Trait PairwiseExt

Source
pub trait PairwiseExt<A, S, D>
where S: Data<Elem = A>,
{ // Required methods fn maximum_with(&self, other: &ArrayBase<S, D>) -> Array<A, D>; fn minimum_with(&self, other: &ArrayBase<S, D>) -> Array<A, D>; }

Required Methods§

Source

fn maximum_with(&self, other: &ArrayBase<S, D>) -> Array<A, D>

Returns the elementwise maximum with another array.

Source

fn minimum_with(&self, other: &ArrayBase<S, D>) -> Array<A, D>

Returns the elementwise minimum with another array.

Implementations on Foreign Types§

Source§

impl<A, S, D> PairwiseExt<A, S, D> for ArrayBase<S, D>
where A: PartialOrd + Copy, S: Data<Elem = A>, D: Dimension, <D as Dimension>::Pattern: NdIndex<D>,

Source§

fn maximum_with(&self, other: &ArrayBase<S, D>) -> Array<A, D>

Source§

fn minimum_with(&self, other: &ArrayBase<S, D>) -> Array<A, D>

Implementors§