Trait CountExt

Source
pub trait CountExt<A, S, D>
where S: Data<Elem = A>, A: Float,
{ // Required methods fn count_finite(&self) -> usize; fn count_non_finite(&self) -> usize; }

Required Methods§

Source

fn count_finite(&self) -> usize

Returns the number of finite values.

Source

fn count_non_finite(&self) -> usize

Returns the number of non-finite values.

Implementations on Foreign Types§

Source§

impl<A, S, D> CountExt<A, S, D> for ArrayBase<S, D>
where A: Float, S: Data<Elem = A>, D: Dimension,

Implementors§