Struct complex::c64
[−]
[src]
pub struct c64(pub f64, pub f64);
A complex number with 64-bit parts.
pub struct c64(pub f64, pub f64);
A complex number with 64-bit parts.
impl Number for c64impl Complex for c64type Real = f64fn new(re: Self::Real, im: Self::Real) -> c64fn from_polar(abs: Self::Real, arg: Self::Real) -> Selffn re(&self) -> Self::Realfn re_mut(&mut self) -> &mut Self::Realfn im(&self) -> Self::Realfn im_mut(&mut self) -> &mut Self::Realfn abs(&self) -> Self::Realfn arg(&self) -> Self::Realfn to_polar(&self) -> (Self::Real, Self::Real)fn conj(&self) -> Selfimpl Add for c64type Output = Selffn add(self, rhs: Self) -> Self::Outputimpl Add<f64> for c64impl Div for c64type Output = Selffn div(self, rhs: Self) -> Self::Outputimpl Div<f64> for c64impl Mul for c64type Output = Selffn mul(self, rhs: Self) -> Self::Outputimpl Mul<f64> for c64impl Neg for c64type Output = Selffn neg(self) -> Self::Outputimpl Sub for c64type Output = Selffn sub(self, rhs: Self) -> Self::Outputimpl Sub<f64> for c64impl PartialEq for c64impl Debug for c64impl Copy for c64impl Clone for c64fn clone(&self) -> c64fn clone_from(&mut self, source: &Self)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).
Search functions by type signature (e.g.
vec -> usize)