Skip to main content

RealFloat

Trait RealFloat 

Source
pub trait RealFloat: Float {
    type Complex: ComplexFloat + Element<Real = Self>;
}
Expand description

The floats that complex numbers are made of (f32 and f64), with their complex type (the result of rfft).

Required Associated Types§

Source

type Complex: ComplexFloat + Element<Real = Self>

The complex type with parts of this type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl RealFloat for f32

Source§

impl RealFloat for f64

Implementors§