Trait rustml::matrix::HasNan [] [src]

pub trait HasNan {
    fn has_nan(&self) -> bool;
}

Trait to check if a matrix contains a NaN value.

Required Methods

fn has_nan(&self) -> bool

Returns true if at least one element that is NaN exists.

Implementors