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 c64
impl Complex for c64
type Real = f64
fn new(re: Self::Real, im: Self::Real) -> c64
fn from_polar(abs: Self::Real, arg: Self::Real) -> Self
fn re(&self) -> Self::Real
fn re_mut(&mut self) -> &mut Self::Real
fn im(&self) -> Self::Real
fn im_mut(&mut self) -> &mut Self::Real
fn abs(&self) -> Self::Real
fn arg(&self) -> Self::Real
fn to_polar(&self) -> (Self::Real, Self::Real)
fn conj(&self) -> Self
impl Add for c64
type Output = Self
fn add(self, rhs: Self) -> Self::Output
impl Add<f64> for c64
impl Div for c64
type Output = Self
fn div(self, rhs: Self) -> Self::Output
impl Div<f64> for c64
impl Mul for c64
type Output = Self
fn mul(self, rhs: Self) -> Self::Output
impl Mul<f64> for c64
impl Neg for c64
type Output = Self
fn neg(self) -> Self::Output
impl Sub for c64
type Output = Self
fn sub(self, rhs: Self) -> Self::Output
impl Sub<f64> for c64
impl PartialEq for c64
impl Debug for c64
impl Copy for c64
impl Clone for c64
fn clone(&self) -> c64
fn 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
)