Struct oxygen_quark::imaginary::complex::Complex
source · Fields§
§real: Fraction
The real component of the complex number.
imaginary: Fraction
The imaginary component of the complex number.
Implementations§
Trait Implementations§
source§impl AddAssign<Complex> for Complex
impl AddAssign<Complex> for Complex
source§fn add_assign(&mut self, other: Complex)
fn add_assign(&mut self, other: Complex)
Performs the
+=
operation. Read moresource§impl Ord for Complex
impl Ord for Complex
source§impl PartialOrd<Complex> for Complex
impl PartialOrd<Complex> for Complex
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl SubAssign<Complex> for Complex
impl SubAssign<Complex> for Complex
source§fn sub_assign(&mut self, other: Complex)
fn sub_assign(&mut self, other: Complex)
Performs the
-=
operation. Read more