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
type Real: RealScalar
Required Methods
fn inject(_: Self::Real) -> Self
fn real(self) -> Self::Real
Returns the real part of self
.
fn imag(self) -> Self::Real
Returns the imaginary part of self
.