[−][src]Type Definition cauchy::c32
type c32 = Complex<f32>;
Trait Implementations
impl Scalar for c32
[src][+]
[+] Show hidden undocumented items
type Real = f32
type Complex = c32
fn re(&self) -> Self::Real
[src][−]
Real part
fn im(&self) -> Self::Real
[src][−]
Imaginary part
fn from_real(re: Self::Real) -> Self
[src]
fn pow(&self, n: Self) -> Self
[src]
fn powi(&self, n: i32) -> Self
[src]
fn powf(&self, n: Self::Real) -> Self
[src]
fn powc(&self, n: Self::Complex) -> Self::Complex
[src]
fn real<T: ToPrimitive>(re: T) -> Self::Real
[src][−]
Create a new real number
fn complex<T: ToPrimitive>(re: T, im: T) -> Self::Complex
[src][−]
Create a new complex number
fn as_c(&self) -> Self::Complex
[src][−]
As a complex number
fn conj(&self) -> Self
[src][−]
Complex conjugate
fn square(&self) -> Self::Real
[src][−]
Sqaure of absolute value
fn abs(&self) -> Self::Real
[src][−]
Absolute value