NdFloat

Trait NdFloat 

Source
pub trait NdFloat:
    Float
    + AddAssign
    + SubAssign
    + MulAssign
    + DivAssign
    + RemAssign
    + Display
    + Debug
    + LowerExp
    + UpperExp
    + ScalarOperand
    + LinalgScalar
    + Send
    + Sync { }
Expand description

Floating-point element types f32 and f64.

Trait NdFloat is only implemented for f32 and f64 but encompasses as much float-relevant ndarray functionality as possible, including the traits needed for linear algebra and for right hand side scalar operations (ScalarOperand).

This trait can only be implemented by f32 and f64.

Requires default crate feature "std"

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 NdFloat for f32

Available on crate feature std only.
Source§

impl NdFloat for f64

Available on crate feature std only.

Implementors§