Skip to main content

PairwiseInplaceExt

Trait PairwiseInplaceExt 

Source
pub trait PairwiseInplaceExt<A, S, SS, D>
where S: DataMut<Elem = A>, SS: Data<Elem = A>,
{ // Required methods fn maximum_with_inplace(&mut self, other: &ArrayBase<SS, D>); fn minimum_with_inplace(&mut self, other: &ArrayBase<SS, D>); }

Required Methods§

Source

fn maximum_with_inplace(&mut self, other: &ArrayBase<SS, D>)

Takes the elementwise maximum with another array.

Source

fn minimum_with_inplace(&mut self, other: &ArrayBase<SS, D>)

Takes 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, SS, D> PairwiseInplaceExt<A, S, SS, D> for ArrayBase<S, D>
where A: PartialOrd + Copy, S: DataMut<Elem = A>, SS: Data<Elem = A>, D: Dimension, <D as Dimension>::Pattern: NdIndex<D>,

Source§

fn maximum_with_inplace(&mut self, other: &ArrayBase<SS, D>)

Source§

fn minimum_with_inplace(&mut self, other: &ArrayBase<SS, D>)

Implementors§