Trait NDArrayNumeric

Source
pub trait NDArrayNumeric: NDArray + Sized
where Self::DType: Float,
{ type Output: Access<u8>; // Required methods fn is_inf(self) -> Result<Array<u8, Self::Output, Self::Platform>, Error>; fn is_nan(self) -> Result<Array<u8, Self::Output, Self::Platform>, Error>; }
Expand description

Float-specific array methods

Required Associated Types§

Required Methods§

Source

fn is_inf(self) -> Result<Array<u8, Self::Output, Self::Platform>, Error>

Test which elements of this array are infinite.

Source

fn is_nan(self) -> Result<Array<u8, Self::Output, Self::Platform>, Error>

Test which elements of this array are not-a-number.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§