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.

Object Safety§

This trait is not object safe.

Implementors§