Skip to main content

PairwiseExt

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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

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§