Skip to main content

FillInPlaceExt

Trait FillInPlaceExt 

Source
pub trait FillInPlaceExt<A, S, D>
where S: DataMut<Elem = A>, A: Float,
{ // Required method fn fill_non_finite_inplace(&mut self, with: A); }

Required Methods§

Source

fn fill_non_finite_inplace(&mut self, with: A)

Fills non-finite floating point values (NaN, infinity, and negative infinity) with the given replacement.

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> FillInPlaceExt<A, S, D> for ArrayBase<S, D>
where A: Float, S: DataMut<Elem = A>, D: Dimension,

Source§

fn fill_non_finite_inplace(&mut self, with: A)

Implementors§