Trait Real

Source
pub trait Real:
    NdFloat
    + AlmostEqual
    + Default { }
Expand description

Floating-point element types f32 and f64.

Trait Real is only implemented for f32 and f64, including the traits needed for computing smoothing splines, manipulating n-d arrays and sparse matrices and also checking almost equality.

This trait can only be implemented by f32 and f64.

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.

Implementations on Foreign Types§

Source§

impl Real for f32

Source§

impl Real for f64

Implementors§