Type Alias ndarray_histogram::O32

source ·
pub type O32 = OrderedFloat<f32>;
Expand description

Ordered f32 inclusive NaN implementing Float.

Aliased Type§

struct O32(pub f32);

Fields§

§0: f32

Trait Implementations§

source§

impl MaybeNan for O32

§

type NotNan = NotNan<f32>

A type that is guaranteed not to be a NaN value.
source§

fn is_nan(&self) -> bool

Returns true if the value is a NaN value.
source§

fn try_as_not_nan(&self) -> Option<&N32>

Tries to convert the value to NotNan. Read more
source§

fn from_not_nan(value: N32) -> O32

Converts the value. Read more
source§

fn from_not_nan_opt(value: Option<N32>) -> O32

Converts the value. Read more
source§

fn from_not_nan_ref_opt(value: Option<&N32>) -> &O32

Converts the value. Read more
source§

fn remove_nan_mut(view: ArrayViewMut1<'_, O32>) -> ArrayViewMut1<'_, N32>

Returns a view with the NaN values removed. Read more