Trait ndarray_linalg::types::AssociatedReal[][src]

pub trait AssociatedReal: Sized {
    type Real: RealScalar;
    fn inject(_: Self::Real) -> Self;
fn real(self) -> Self::Real;
fn imag(self) -> Self::Real;
fn add_real(self, _: Self::Real) -> Self;
fn sub_real(self, _: Self::Real) -> Self;
fn mul_real(self, _: Self::Real) -> Self;
fn div_real(self, _: Self::Real) -> Self; }

Define associating real float type

Associated Types

Required Methods

Returns the real part of self.

Returns the imaginary part of self.

Implementations on Foreign Types

impl AssociatedReal for f64
[src]

impl AssociatedReal for f32
[src]

Implementors