Struct rug::Complex
[−]
[src]
pub struct Complex { /* fields omitted */ }
A multi-precision complex number. The precision has to be set during construction.
There are two versions of most methods:
- The first rounds the returned or stored
Complex
number to the nearest representable value. - The second applies the specified rounding
methods for the real and imaginary parts, and
returns the rounding directions for both:
Ordering::Less
if the returned/stored part is less than the exact result,Ordering::Equal
if the returned/stored part is equal to the exact result,Ordering::Greater
if the returned/stored part is greater than the exact result,
Note on Round::AwayFromZero
For Complex
numbers, Round::AwayFromZero
is not implemented,
and trying to use it will panic.
Methods
impl Complex
[src]
fn new<P: Prec>(prec: P) -> Complex
Create a new complex number with the specified precisions for the real and imaginary parts and with value 0.
Examples
use rug::Complex; let r1 = Complex::new(32); assert_eq!(r1.prec(), (32, 32)); let r2 = Complex::new((32, 64)); assert_eq!(r2.prec(), (32, 64));
Panics
Panics if the precision is out of the allowed range.
fn prec(&self) -> (u32, u32)
Returns the precision of the real and imaginary parts.
Examples
use rug::Complex; let r = Complex::new((24, 53)); assert_eq!(r.prec(), (24, 53));
fn set_prec<P: Prec>(&mut self, prec: P)
Sets the precision of the real and imaginary parts, rounding to the nearest.
Examples
use rug::Complex; let mut r = Complex::from(((4.875, 4.625), 6)); assert_eq!(r, (4.875, 4.625)); r.set_prec(4); assert_eq!(r, (5.0, 4.5));
Panics
Panics if the precision is out of the allowed range.
fn set_prec_round<P: Prec>(
&mut self,
prec: P,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
prec: P,
round: (Round, Round)
) -> (Ordering, Ordering)
Sets the precision of the real and imaginary parts, applying the specified rounding method.
Examples
use rug::Complex; use rug::float::Round; use std::cmp::Ordering; let mut r = Complex::from(((4.875, 4.625), 6)); assert_eq!(r, (4.875, 4.625)); let dir = r.set_prec_round(4, (Round::Down, Round::Up)); assert_eq!(r, (4.5, 5.0)); assert_eq!(dir, (Ordering::Less, Ordering::Greater));
Panics
Panics if the precision is out of the allowed range.
fn from_str<P: Prec>(src: &str, prec: P) -> Result<Complex, ParseComplexError>
Parses a Complex
number with the specified precision,
rounding to the nearest.
Examples
use rug::Complex; let c = Complex::from_str("(12.5e2 2.5e-1)", 53).unwrap(); assert_eq!(*c.real(), 12.5e2); assert_eq!(*c.imag(), 2.5e-1); let bad = Complex::from_str("bad", 53); assert!(bad.is_err());
fn from_str_round<P: Prec>(
src: &str,
prec: P,
round: (Round, Round)
) -> Result<(Complex, (Ordering, Ordering)), ParseComplexError>
src: &str,
prec: P,
round: (Round, Round)
) -> Result<(Complex, (Ordering, Ordering)), ParseComplexError>
Parses a Complex
number with the specified precision,
applying the specified rounding.
Examples
use rug::Complex; use rug::float::Round; use std::cmp::Ordering; let round = (Round::Down, Round::Up); let res = Complex::from_str_round("(14.1 14.2)", 4, round); let (c, dir) = res.unwrap(); assert_eq!(*c.real(), 14); assert_eq!(*c.imag(), 15); assert_eq!(dir, (Ordering::Less, Ordering::Greater));
fn from_str_radix<P: Prec>(
src: &str,
radix: i32,
prec: P
) -> Result<Complex, ParseComplexError>
src: &str,
radix: i32,
prec: P
) -> Result<Complex, ParseComplexError>
Parses a Complex
number with the specified radix and
precision, rounding to the nearest.
Examples
use rug::Complex; let c = Complex::from_str_radix("f.f", 16, 53).unwrap(); assert_eq!(*c.real(), 15.9375); assert_eq!(*c.imag(), 0);
Panics
Panics if radix
is less than 2 or greater than 36.
fn from_str_radix_round<P: Prec>(
src: &str,
radix: i32,
prec: P,
round: (Round, Round)
) -> Result<(Complex, (Ordering, Ordering)), ParseComplexError>
src: &str,
radix: i32,
prec: P,
round: (Round, Round)
) -> Result<(Complex, (Ordering, Ordering)), ParseComplexError>
Parses a Complex
number with the specified radix and
precision, applying the specified rounding.
Examples
use rug::Complex; use rug::float::Round; use std::cmp::Ordering; let round = (Round::Nearest, Round::Nearest); let res = Complex::from_str_radix_round("(c.c c.1)", 16, 4, round); let (c, dir) = res.unwrap(); assert_eq!(*c.real(), 13); assert_eq!(*c.imag(), 12); assert_eq!(dir, (Ordering::Greater, Ordering::Less));
Panics
Panics if radix
is less than 2 or greater than 36.
fn valid_str_radix(
src: &str,
radix: i32
) -> Result<ValidComplex, ParseComplexError>
src: &str,
radix: i32
) -> Result<ValidComplex, ParseComplexError>
Checks if a Complex
number can be parsed.
If this method does not return an error, neither will any
other function that parses a Complex
number. If this method
returns an error, the other functions will return the same
error.
Examples
use rug::Complex; let valid1 = Complex::valid_str_radix("(1.2e-1 2.3e+2)", 4); let c1 = Complex::from((valid1.unwrap(), 53)); assert_eq!(c1, (0.25 * (1.0 + 0.25 * 2.0), 4.0 * (3.0 + 4.0 * 2.0))); let valid2 = Complex::valid_str_radix("(12 yz)", 36); let c2 = Complex::from((valid2.unwrap(), 53)); assert_eq!(c2, (2.0 + 36.0 * 1.0, 35.0 + 36.0 * 34.0)); let invalid = Complex::valid_str_radix("(0, 0)", 3); let invalid_f = Complex::from_str_radix("(0, 0)", 3, 53); assert_eq!(invalid.unwrap_err(), invalid_f.unwrap_err());
Panics
Panics if radix
is less than 2 or greater than 36.
fn to_string_radix(&self, radix: i32, num_digits: Option<usize>) -> String
Returns a string representation of self
for the specified
radix
rounding to the nearest.
The exponent is encoded in decimal. If the number of digits is not specified, the output string will have enough precision such that reading it again will give the exact same number.
Examples
use rug::Complex; let c1 = Complex::from((0, 53)); assert_eq!(c1.to_string_radix(10, None), "(0.0 0.0)"); let c2 = Complex::from(((15, 5), 12)); assert_eq!(c2.to_string_radix(16, None), "(f.000@0 5.000@0)"); let c3 = Complex::from(((10, -4), 53)); assert_eq!(c3.to_string_radix(10, Some(3)), "(1.00e1 -4.00e0)"); assert_eq!(c3.to_string_radix(5, Some(3)), "(2.00e1 -4.00e0)");
Panics
Panics if radix
is less than 2 or greater than 36.
fn to_string_radix_round(
&self,
radix: i32,
num_digits: Option<usize>,
round: (Round, Round)
) -> String
&self,
radix: i32,
num_digits: Option<usize>,
round: (Round, Round)
) -> String
Returns a string representation of self
for the specified
radix
applying the specified rounding method.
The exponent is encoded in decimal. If the number of digits is not specified, the output string will have enough precision such that reading it again will give the exact same number.
Examples
use rug::Complex; use rug::float::Round; let c = Complex::from((10.4, 10)); let down = (Round::Down, Round::Down); let nearest = (Round::Nearest, Round::Nearest); let up = (Round::Up, Round::Up); let nd = c.to_string_radix_round(10, None, down); assert_eq!(nd, "(1.0406e1 0.0)"); let nu = c.to_string_radix_round(10, None, up); assert_eq!(nu, "(1.0407e1 0.0)"); let sd = c.to_string_radix_round(10, Some(2), down); assert_eq!(sd, "(1.0e1 0.0)"); let sn = c.to_string_radix_round(10, Some(2), nearest); assert_eq!(sn, "(1.0e1 0.0)"); let su = c.to_string_radix_round(10, Some(2), up); assert_eq!(su, "(1.1e1 0.0)");
Panics
Panics if radix
is less than 2 or greater than 36.
fn assign_str(&mut self, src: &str) -> Result<(), ParseComplexError>
Parses a Complex
number from a string, rounding to the
nearest.
Examples
use rug::Complex; let mut c = Complex::new(53); c.assign_str("(12.5e2 2.5e-1)").unwrap(); assert_eq!(*c.real(), 12.5e2); assert_eq!(*c.imag(), 2.5e-1); let ret = c.assign_str("bad"); assert!(ret.is_err());
fn assign_str_round(
&mut self,
src: &str,
round: (Round, Round)
) -> Result<(Ordering, Ordering), ParseComplexError>
&mut self,
src: &str,
round: (Round, Round)
) -> Result<(Ordering, Ordering), ParseComplexError>
Parses a Complex
number from a string, applying the specified
rounding.
Examples
use rug::Complex; use rug::float::Round; use std::cmp::Ordering; let mut c = Complex::new((4, 4)); let round = (Round::Down, Round::Up); let dir = c.assign_str_round("(14.1 14.2)", round).unwrap(); assert_eq!(*c.real(), 14); assert_eq!(*c.imag(), 15); assert_eq!(dir, (Ordering::Less, Ordering::Greater));
fn assign_str_radix(
&mut self,
src: &str,
radix: i32
) -> Result<(), ParseComplexError>
&mut self,
src: &str,
radix: i32
) -> Result<(), ParseComplexError>
Parses a Complex
number from a string with the specified
radix, rounding to the nearest.
Examples
use rug::Complex; let mut c = Complex::new(53); c.assign_str_radix("f.f", 16).unwrap(); assert_eq!(*c.real(), 15.9375); assert_eq!(*c.imag(), 0);
Panics
Panics if radix
is less than 2 or greater than 36.
fn assign_str_radix_round(
&mut self,
src: &str,
radix: i32,
round: (Round, Round)
) -> Result<(Ordering, Ordering), ParseComplexError>
&mut self,
src: &str,
radix: i32,
round: (Round, Round)
) -> Result<(Ordering, Ordering), ParseComplexError>
Parses a Complex
number from a string with the specified
radix, applying the specified rounding.
Examples
use rug::Complex; use rug::float::Round; use std::cmp::Ordering; let mut c = Complex::new((4, 4)); let round = (Round::Nearest, Round::Nearest); let dir = c.assign_str_radix_round("(c.c c.1)", 16, round).unwrap(); assert_eq!(*c.real(), 13); assert_eq!(*c.imag(), 12); assert_eq!(dir, (Ordering::Greater, Ordering::Less));
Panics
Panics if radix
is less than 2 or greater than 36.
fn real(&self) -> &Float
Borrows the real part as a Float
.
Examples
use rug::Complex; let c = Complex::from(((12.5, -20.75), 53)); assert_eq!(*c.real(), 12.5)
fn imag(&self) -> &Float
Borrows the imaginary part as a Float
.
Examples
use rug::Complex; let c = Complex::from(((12.5, -20.75), 53)); assert_eq!(*c.imag(), -20.75)
fn mut_real(&mut self) -> &mut Float
Borrows the real part mutably.
Examples
use rug::Complex; let mut c = Complex::from(((12.5, -20.75), 53)); assert_eq!(c, (12.5, -20.75)); *c.mut_real() /= 2; assert_eq!(c, (6.25, -20.75));
fn mut_imag(&mut self) -> &mut Float
Borrows the imaginary part mutably.
Examples
use rug::Complex; let mut c = Complex::from(((12.5, -20.75), 53)); assert_eq!(c, (12.5, -20.75)); *c.mut_imag() *= 4; assert_eq!(c, (12.5, -83));
fn as_real_imag(&self) -> (&Float, &Float)
Borrows the real and imaginary parts.
Examples
use rug::Complex; let c = Complex::from(((12.5, -20.75), 53)); assert_eq!(c, (12.5, -20.75)); let (re, im) = c.as_real_imag(); assert_eq!(*re, 12.5); assert_eq!(*im, -20.75);
fn as_mut_real_imag(&mut self) -> (&mut Float, &mut Float)
Borrows the real and imaginary parts mutably.
Examples
use rug::Complex; let mut c = Complex::from(((12.5, -20.75), 53)); { let (real, imag) = c.as_mut_real_imag(); *real /= 2; *imag *= 4; // borrow ends here } assert_eq!(c, (6.25, -83));
fn into_real_imag(self) -> (Float, Float)
Converts self
into real and imaginary Float
values,
consuming self
.
This function reuses the allocated memory and does not allocate any new memory.
use rug::Complex; let c = Complex::from(((12.5, -20.75), 53)); let (real, imag) = c.into_real_imag(); assert_eq!(real, 12.5); assert_eq!(imag, -20.75);
fn proj(&mut self) -> &mut Complex
Computes a projection onto the Riemann sphere, rounding to the nearest.
fn proj_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)
Computes a projection onto the Riemann sphere, applying the specified rounding method.
fn proj_ref(&self) -> ProjRef
Computes the projection onto the Riemann sphere.
fn square(&mut self) -> &mut Complex
Computes the square, rounding to the nearest.
fn square_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)
Computes the square, applying the specified rounding method.
fn square_ref(&self) -> SquareRef
Computes the square.
fn sqrt(&mut self) -> &mut Complex
Computes the square root, rounding to the nearest.
fn sqrt_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)
Computes the square root, applying the specified rounding method.
fn sqrt_ref(&self) -> SqrtRef
Computes the square root.
fn conjugate(&mut self) -> &mut Complex
Computes the complex conjugate, rounding to the nearest.
fn conjugate_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)
Computes the complex conjugate, applying the specified rounding method.
fn conjugate_ref(&self) -> ConjugateRef
Computes the complex conjugate.
fn abs_ref(&self) -> AbsRef
Computes the absolute value.
Examples
use rug::{Complex, Float}; use rug::float::Special; let c1 = Complex::from(((30, 40), 53)); assert_eq!(Float::from((c1.abs_ref(), 53)), 50); let c2 = Complex::from(((12, Special::Infinity), 53)); assert!(Float::from((c2.abs_ref(), 53)).is_infinite());
fn arg_ref(&self) -> ArgRef
Computes the argument.
Examples
use rug::{Assign, Complex, Float}; use rug::float::Special; use std::f64; // f has precision 53, just like f64, so PI constants match. let mut arg = Float::new(53); let c_pos = Complex::from((1, 53)); arg.assign(c_pos.arg_ref()); assert!(arg.is_zero()); let c_neg = Complex::from((-1.3, 53)); arg.assign(c_neg.arg_ref()); assert_eq!(arg, f64::consts::PI); let c_pi_4 = Complex::from(((1.333, 1.333), 53)); arg.assign(c_pi_4.arg_ref()); assert_eq!(arg, f64::consts::FRAC_PI_4); // Special values are handled like atan2 in IEEE 754-2008. // Examples for real, imag set to plus, minus zero below: let mut zero = Complex::new(53); zero.assign((Special::Zero, Special::Zero)); arg.assign(zero.arg_ref()); assert!(arg.is_zero() && !arg.get_sign()); zero.assign((Special::Zero, Special::MinusZero)); arg.assign(zero.arg_ref()); assert!(arg.is_zero() && arg.get_sign()); zero.assign((Special::MinusZero, Special::Zero)); arg.assign(zero.arg_ref()); assert_eq!(arg, f64::consts::PI); zero.assign((Special::MinusZero, Special::MinusZero)); arg.assign(zero.arg_ref()); assert_eq!(arg, -f64::consts::PI);
fn mul_i(&mut self, negative: bool) -> &mut Complex
Multiplies the complex number by i, rounding to the nearest.
fn mul_i_round(
&mut self,
negative: bool,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
negative: bool,
round: (Round, Round)
) -> (Ordering, Ordering)
Multiplies the complex number by i, applying the specified rounding method.
fn mul_i_ref(&self, negative: bool) -> MulIRef
Multiplies the complex number by i.
fn recip(&mut self) -> &mut Complex
Computes the reciprocal, rounding to the nearest.
fn recip_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)
Computes the reciprocal, applying the specified rounding method.
fn recip_ref(&self) -> RecipRef
Computes the reciprocal.
fn norm_ref(&self) -> NormRef
Computes the norm, that is the square of the absolute value.
fn ln(&mut self) -> &mut Complex
Computes the natural logarithm, rounding to the nearest.
fn ln_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)
Computes the natural logarithm, applying the specified rounding method.
fn ln_ref(&self) -> LnRef
Computes the natural logarithm;
fn log10(&mut self) -> &mut Complex
Computes the logarithm to base 10, rounding to the nearest.
fn log10_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)
Computes the logarithm to base 10, applying the specified rounding method.
fn log10_ref(&self) -> Log10Ref
Computes the logarithm to base 10.
fn exp(&mut self) -> &mut Complex
Computes the exponential, rounding to the nearest.
fn exp_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)
Computes the exponential, applying the specified rounding method.
fn exp_ref(&self) -> ExpRef
Computes the exponential.
fn sin(&mut self) -> &mut Complex
Computes the sine, rounding to the nearest.
fn sin_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)
Computes the sine, applying the specified rounding method.
fn sin_ref(&self) -> SinRef
Computes the sine.
fn cos(&mut self) -> &mut Complex
Computes the cosine, rounding to the nearest.
fn cos_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)
Computes the cosine, applying the specified rounding method.
fn cos_ref(&self) -> CosRef
Computes the cosine.
fn sin_cos(&mut self, cos: &mut Complex)
Computes the sine and cosine of self
, rounding to the
nearest.
The sine is stored in self
and keeps its precision,
while the cosine is stored in cos
keeping its precision.
fn sin_cos_round(
&mut self,
cos: &mut Complex,
round: (Round, Round)
) -> ((Ordering, Ordering), (Ordering, Ordering))
&mut self,
cos: &mut Complex,
round: (Round, Round)
) -> ((Ordering, Ordering), (Ordering, Ordering))
Computes the sine and cosine of self
, applying the
specified rounding methods.
The sine is stored in self
and keeps its precision,
while the cosine is stored in cos
keeping its precision.
fn sin_cos_ref(&self) -> SinCosRef
Computes the sine and cosine.
Examples
use rug::{Assign, Complex}; // sin(0.5 + 0.2i) = 0.48905 + 0.17669i // cos(0.5 + 0.2i) = 0.89519 - 0.096526i let angle = Complex::from(((0.5, 0.2), 53)); let r = angle.sin_cos_ref(); // use only 10 bits of precision here to // make comparison easier let (mut sin, mut cos) = (Complex::new(10), Complex::new(10)); (&mut sin, &mut cos).assign(r); assert_eq!(sin, Complex::from(((0.48905, 0.17669), 10))); assert_eq!(cos, Complex::from(((0.89519, -0.096526), 10)));
fn tan(&mut self) -> &mut Complex
Computes the tangent, rounding to the nearest.
fn tan_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)
Computes the tangent, applying the specified rounding method.
fn tan_ref(&self) -> TanRef
Computes the tangent.
fn sinh(&mut self) -> &mut Complex
Computes the hyperbolic sine, rounding to the nearest.
fn sinh_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)
Computes the hyperbolic sine, applying the specified rounding method.
fn sinh_ref(&self) -> SinhRef
Computes the hyperbolic sine.
fn cosh(&mut self) -> &mut Complex
Computes the hyperbolic cosine, rounding to the nearest.
fn cosh_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)
Computes the hyperbolic cosine, applying the specified rounding method.
fn cosh_ref(&self) -> CoshRef
Computes the hyperbolic cosine.
fn tanh(&mut self) -> &mut Complex
Computes the hyperbolic tangent, rounding to the nearest.
fn tanh_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)
Computes the hyperbolic tangent, applying the specified rounding method.
fn tanh_ref(&self) -> TanhRef
Computes the hyperbolic tangent.
fn asin(&mut self) -> &mut Complex
Computes the inverse sine, rounding to the nearest.
fn asin_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)
Computes the inverse sine, applying the specified rounding method.
fn asin_ref(&self) -> AsinRef
Computes the inverse sine.
fn acos(&mut self) -> &mut Complex
Computes the inverse cosine, rounding to the nearest.
fn acos_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)
Computes the inverse cosine, applying the specified rounding method.
fn acos_ref(&self) -> AcosRef
Computes the inverse cosine.
fn atan(&mut self) -> &mut Complex
Computes the inverse tangent, rounding to the nearest.
fn atan_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)
Computes the inverse tangent, applying the specified rounding method.
fn atan_ref(&self) -> AtanRef
Computes the inverse tangent.
fn asinh(&mut self) -> &mut Complex
Computes the inverse hyperbolic sine, rounding to the nearest.
fn asinh_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)
Computes the inverse hyperbolic sine, applying the specified rounding method.
fn asinh_ref(&self) -> AsinhRef
Computes the inverse hyperboic sine.
fn acosh(&mut self) -> &mut Complex
Computes the inverse hyperbolic cosine, rounding to the nearest.
fn acosh_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)
Computes the inverse hyperbolic cosine, applying the specified rounding method.
fn acosh_ref(&self) -> AcoshRef
Computes the inverse hyperbolic cosine.
fn atanh(&mut self) -> &mut Complex
Computes the inverse hyperbolic tangent, rounding to the nearest.
fn atanh_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)
Computes the inverse hyperbolic tangent, applying the specified rounding method.
fn atanh_ref(&self) -> AtanhRef
Computes the inverse hyperbolic tangent.
fn assign_random_bits(&mut self, rng: &mut RandState) -> Result<(), ()>
Generates a random complex number with both the real and
imaginary parts in the range 0 <= n < 1
.
This is equivalent to calling assign_random_bits(rng)
on the
real part, and the same on the imaginary part.
fn assign_random_cont(&mut self, rng: &mut RandState)
Generates a random complex number, rounding to the nearest.
Both the real and imaginary parts are in the continuous range
0 <= n < 1
. After rounding, the value may be equal to one.
Calling this method is equivalent to calling
assign_random_cont_round(rng, (Round::Nearest, Round::Nearest))
.
fn assign_random_cont_round(
&mut self,
rng: &mut RandState,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
rng: &mut RandState,
round: (Round, Round)
) -> (Ordering, Ordering)
Generates a random complex number, applying the specified rounding method.
Both the real and imaginary parts are in the continuous range
0 <= n < 1
. After rounding, the value may be equal to one.
Calling this method is equivalent to calling
assign_random_cont_round(rng, round.0)
on the real part, and the same with round.1
on the
imaginary part.
Trait Implementations
impl Clone for Complex
[src]
fn clone(&self) -> Complex
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Complex)
Performs copy-assignment from source
. Read more
impl Drop for Complex
[src]
impl From<(Float, Float)> for Complex
[src]
fn from((real, imag): (Float, Float)) -> Complex
Constructs a Complex
number from a real Float
and
imaginary Float
.
This constructor does not allocate, as it reuses the Float
components.
impl<T, P: Prec> From<(T, P)> for Complex where
Complex: FromRound<T, P, Round = (Round, Round)>,
[src]
Complex: FromRound<T, P, Round = (Round, Round)>,
impl<T, P: Prec> FromRound<T, P> for Complex where
Complex: AssignRound<T, Round = (Round, Round), Ordering = (Ordering, Ordering)>,
[src]
Complex: AssignRound<T, Round = (Round, Round), Ordering = (Ordering, Ordering)>,
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn from_round(
t: T,
prec: P,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
t: T,
prec: P,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the conversion. Read more
impl Display for Complex
[src]
impl Debug for Complex
[src]
impl LowerExp for Complex
[src]
impl UpperExp for Complex
[src]
impl Binary for Complex
[src]
impl Octal for Complex
[src]
impl LowerHex for Complex
[src]
impl UpperHex for Complex
[src]
impl<T> Assign<T> for Complex where
Complex: AssignRound<T, Round = (Round, Round), Ordering = (Ordering, Ordering)>,
[src]
Complex: AssignRound<T, Round = (Round, Round), Ordering = (Ordering, Ordering)>,
impl AssignRound<Complex> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
other: Complex,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
other: Complex,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<&'a Complex> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
other: &Complex,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
other: &Complex,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<&'a Integer> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
other: &'a Integer,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
other: &'a Integer,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<&'a Rational> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
other: &'a Rational,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
other: &'a Rational,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<&'a Float> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
other: &'a Float,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
other: &'a Float,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl AssignRound<Integer> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
other: Integer,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
other: Integer,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl AssignRound<Rational> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
other: Rational,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
other: Rational,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl AssignRound<Float> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
other: Float,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
other: Float,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl AssignRound<Special> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
other: Special,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
other: Special,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl AssignRound<Constant> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
other: Constant,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
other: Constant,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl AssignRound<i32> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
other: i32,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
other: i32,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl AssignRound<i64> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
other: i64,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
other: i64,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl AssignRound<u32> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
other: u32,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
other: u32,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl AssignRound<u64> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
other: u64,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
other: u64,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl AssignRound<f32> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
other: f32,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
other: f32,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl AssignRound<f64> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
other: f64,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
other: f64,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<T, U> AssignRound<(T, U)> for Complex where
Float: AssignRound<T, Round = Round, Ordering = Ordering>,
Float: AssignRound<U, Round = Round, Ordering = Ordering>,
[src]
Float: AssignRound<T, Round = Round, Ordering = Ordering>,
Float: AssignRound<U, Round = Round, Ordering = Ordering>,
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
other: (T, U),
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
other: (T, U),
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<ProjRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: ProjRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: ProjRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<SquareRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: SquareRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: SquareRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<SqrtRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: SqrtRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: SqrtRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<ConjugateRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: ConjugateRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: ConjugateRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<MulIRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: MulIRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: MulIRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<RecipRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: RecipRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: RecipRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<LnRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: LnRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: LnRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<Log10Ref<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: Log10Ref<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: Log10Ref<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<ExpRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: ExpRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: ExpRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<SinRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: SinRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: SinRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<CosRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: CosRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: CosRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<TanRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: TanRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: TanRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<SinhRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: SinhRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: SinhRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<CoshRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: CoshRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: CoshRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<TanhRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: TanhRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: TanhRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<AsinRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: AsinRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: AsinRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<AcosRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: AcosRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: AcosRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<AtanRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: AtanRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: AtanRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<AsinhRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: AsinhRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: AsinhRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<AcoshRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: AcoshRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: AcoshRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<AtanhRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: AtanhRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: AtanhRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl Neg for Complex
[src]
type Output = Complex
The resulting type after applying the -
operator
fn neg(self) -> Complex
The method for the unary -
operator
impl NegAssign for Complex
[src]
fn neg_assign(&mut self)
Peforms the negation. Read more
impl<'a> Neg for &'a Complex
[src]
type Output = NegRef<'a>
The resulting type after applying the -
operator
fn neg(self) -> NegRef<'a>
The method for the unary -
operator
impl<'a> AssignRound<NegRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: NegRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: NegRef<'a>,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> Add<&'a Complex> for Complex
[src]
type Output = Complex
The resulting type after applying the +
operator
fn add(self, rhs: &'a Complex) -> Complex
The method for the +
operator
impl<'a> AddRound<&'a Complex> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the addition.
fn add_round(
self,
rhs: &'a Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: &'a Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the addition. Read more
impl Add<Complex> for Complex
[src]
type Output = Complex
The resulting type after applying the +
operator
fn add(self, rhs: Complex) -> Complex
The method for the +
operator
impl AddRound<Complex> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the addition.
fn add_round(
self,
rhs: Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the addition. Read more
impl<'a> Add<&'a Complex> for &'a Complex
[src]
type Output = AddRef<'a>
The resulting type after applying the +
operator
fn add(self, rhs: &'a Complex) -> AddRef<'a>
The method for the +
operator
impl<'a> AddAssign<&'a Complex> for Complex
[src]
fn add_assign(&mut self, rhs: &'a Complex)
The method for the +=
operator
impl AddAssign<Complex> for Complex
[src]
fn add_assign(&mut self, rhs: Complex)
The method for the +=
operator
impl<'a> AssignRound<AddRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: AddRef,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: AddRef,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<AddRefOwn<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: AddRefOwn,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: AddRefOwn,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> Add<Complex> for &'a Complex
[src]
type Output = Complex
The resulting type after applying the +
operator
fn add(self, rhs: Complex) -> Complex
The method for the +
operator
impl<'a> AddRound<Complex> for &'a Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the addition.
fn add_round(
self,
rhs: Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the addition. Read more
impl<'a> Sub<&'a Complex> for Complex
[src]
type Output = Complex
The resulting type after applying the -
operator
fn sub(self, rhs: &'a Complex) -> Complex
The method for the -
operator
impl<'a> SubRound<&'a Complex> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the subtraction.
fn sub_round(
self,
rhs: &'a Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: &'a Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the subtraction. Read more
impl Sub<Complex> for Complex
[src]
type Output = Complex
The resulting type after applying the -
operator
fn sub(self, rhs: Complex) -> Complex
The method for the -
operator
impl SubRound<Complex> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the subtraction.
fn sub_round(
self,
rhs: Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the subtraction. Read more
impl<'a> Sub<&'a Complex> for &'a Complex
[src]
type Output = SubRef<'a>
The resulting type after applying the -
operator
fn sub(self, rhs: &'a Complex) -> SubRef<'a>
The method for the -
operator
impl<'a> SubAssign<&'a Complex> for Complex
[src]
fn sub_assign(&mut self, rhs: &'a Complex)
The method for the -=
operator
impl SubAssign<Complex> for Complex
[src]
fn sub_assign(&mut self, rhs: Complex)
The method for the -=
operator
impl<'a> AssignRound<SubRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: SubRef,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: SubRef,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<SubRefOwn<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: SubRefOwn,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: SubRefOwn,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> Sub<Complex> for &'a Complex
[src]
type Output = Complex
The resulting type after applying the -
operator
fn sub(self, rhs: Complex) -> Complex
The method for the -
operator
impl<'a> SubRound<Complex> for &'a Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the subtraction.
fn sub_round(
self,
rhs: Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the subtraction. Read more
impl<'a> SubFromAssign<&'a Complex> for Complex
[src]
fn sub_from_assign(&mut self, lhs: &Complex)
Peforms the subtraction. Read more
impl SubFromAssign for Complex
[src]
fn sub_from_assign(&mut self, lhs: Complex)
Peforms the subtraction. Read more
impl<'a> Mul<&'a Complex> for Complex
[src]
type Output = Complex
The resulting type after applying the *
operator
fn mul(self, rhs: &'a Complex) -> Complex
The method for the *
operator
impl<'a> MulRound<&'a Complex> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the multiplication.
fn mul_round(
self,
rhs: &'a Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: &'a Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the multiplication. Read more
impl Mul<Complex> for Complex
[src]
type Output = Complex
The resulting type after applying the *
operator
fn mul(self, rhs: Complex) -> Complex
The method for the *
operator
impl MulRound<Complex> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the multiplication.
fn mul_round(
self,
rhs: Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the multiplication. Read more
impl<'a> Mul<&'a Complex> for &'a Complex
[src]
type Output = MulRef<'a>
The resulting type after applying the *
operator
fn mul(self, rhs: &'a Complex) -> MulRef<'a>
The method for the *
operator
impl<'a> MulAssign<&'a Complex> for Complex
[src]
fn mul_assign(&mut self, rhs: &'a Complex)
The method for the *=
operator
impl MulAssign<Complex> for Complex
[src]
fn mul_assign(&mut self, rhs: Complex)
The method for the *=
operator
impl<'a> AssignRound<MulRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: MulRef,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: MulRef,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<MulRefOwn<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: MulRefOwn,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: MulRefOwn,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> Mul<Complex> for &'a Complex
[src]
type Output = Complex
The resulting type after applying the *
operator
fn mul(self, rhs: Complex) -> Complex
The method for the *
operator
impl<'a> MulRound<Complex> for &'a Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the multiplication.
fn mul_round(
self,
rhs: Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the multiplication. Read more
impl<'a> Div<&'a Complex> for Complex
[src]
type Output = Complex
The resulting type after applying the /
operator
fn div(self, rhs: &'a Complex) -> Complex
The method for the /
operator
impl<'a> DivRound<&'a Complex> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the division.
fn div_round(
self,
rhs: &'a Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: &'a Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the division. Read more
impl Div<Complex> for Complex
[src]
type Output = Complex
The resulting type after applying the /
operator
fn div(self, rhs: Complex) -> Complex
The method for the /
operator
impl DivRound<Complex> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the division.
fn div_round(
self,
rhs: Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the division. Read more
impl<'a> Div<&'a Complex> for &'a Complex
[src]
type Output = DivRef<'a>
The resulting type after applying the /
operator
fn div(self, rhs: &'a Complex) -> DivRef<'a>
The method for the /
operator
impl<'a> DivAssign<&'a Complex> for Complex
[src]
fn div_assign(&mut self, rhs: &'a Complex)
The method for the /=
operator
impl DivAssign<Complex> for Complex
[src]
fn div_assign(&mut self, rhs: Complex)
The method for the /=
operator
impl<'a> AssignRound<DivRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: DivRef,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: DivRef,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<DivRefOwn<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: DivRefOwn,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: DivRefOwn,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> Div<Complex> for &'a Complex
[src]
type Output = Complex
The resulting type after applying the /
operator
fn div(self, rhs: Complex) -> Complex
The method for the /
operator
impl<'a> DivRound<Complex> for &'a Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the division.
fn div_round(
self,
rhs: Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the division. Read more
impl<'a> DivFromAssign<&'a Complex> for Complex
[src]
fn div_from_assign(&mut self, lhs: &Complex)
Peforms the division. Read more
impl DivFromAssign for Complex
[src]
fn div_from_assign(&mut self, lhs: Complex)
Peforms the division. Read more
impl<'a> Pow<&'a Complex> for Complex
[src]
type Output = Complex
The resulting type after the power operation.
fn pow(self, rhs: &'a Complex) -> Complex
Performs the power operation. Read more
impl<'a> PowRound<&'a Complex> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the power operation.
fn pow_round(
self,
rhs: &'a Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: &'a Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the power operation. Read more
impl Pow<Complex> for Complex
[src]
type Output = Complex
The resulting type after the power operation.
fn pow(self, rhs: Complex) -> Complex
Performs the power operation. Read more
impl PowRound<Complex> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the power operation.
fn pow_round(
self,
rhs: Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the power operation. Read more
impl<'a> Pow<&'a Complex> for &'a Complex
[src]
type Output = PowRef<'a>
The resulting type after the power operation.
fn pow(self, rhs: &'a Complex) -> PowRef<'a>
Performs the power operation. Read more
impl<'a> PowAssign<&'a Complex> for Complex
[src]
fn pow_assign(&mut self, rhs: &'a Complex)
Peforms the power operation. Read more
impl PowAssign<Complex> for Complex
[src]
fn pow_assign(&mut self, rhs: Complex)
Peforms the power operation. Read more
impl<'a> AssignRound<PowRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: PowRef,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: PowRef,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<PowRefOwn<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: PowRefOwn,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: PowRefOwn,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> Pow<Complex> for &'a Complex
[src]
type Output = Complex
The resulting type after the power operation.
fn pow(self, rhs: Complex) -> Complex
Performs the power operation. Read more
impl<'a> PowRound<Complex> for &'a Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the power operation.
fn pow_round(
self,
rhs: Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: Complex,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the power operation. Read more
impl<'a> PowFromAssign<&'a Complex> for Complex
[src]
fn pow_from_assign(&mut self, lhs: &Complex)
Peforms the power operation. Read more
impl PowFromAssign for Complex
[src]
fn pow_from_assign(&mut self, lhs: Complex)
Peforms the power operation. Read more
impl<'a> Add<&'a Float> for Complex
[src]
type Output = Complex
The resulting type after applying the +
operator
fn add(self, rhs: &'a Float) -> Complex
The method for the +
operator
impl<'a> AddRound<&'a Float> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the addition.
fn add_round(
self,
rhs: &'a Float,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: &'a Float,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the addition. Read more
impl Add<Float> for Complex
[src]
type Output = Complex
The resulting type after applying the +
operator
fn add(self, rhs: Float) -> Complex
The method for the +
operator
impl AddRound<Float> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the addition.
fn add_round(
self,
rhs: Float,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: Float,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the addition. Read more
impl<'a> Add<&'a Float> for &'a Complex
[src]
type Output = AddRefFloat<'a>
The resulting type after applying the +
operator
fn add(self, rhs: &'a Float) -> AddRefFloat<'a>
The method for the +
operator
impl<'a> AddAssign<&'a Float> for Complex
[src]
fn add_assign(&mut self, rhs: &'a Float)
The method for the +=
operator
impl AddAssign<Float> for Complex
[src]
fn add_assign(&mut self, rhs: Float)
The method for the +=
operator
impl<'a> AssignRound<AddRefFloat<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: AddRefFloat,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: AddRefFloat,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<AddRefFloatOwn<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: AddRefFloatOwn,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: AddRefFloatOwn,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> Add<Float> for &'a Complex
[src]
type Output = AddRefFloatOwn<'a>
The resulting type after applying the +
operator
fn add(self, rhs: Float) -> AddRefFloatOwn<'a>
The method for the +
operator
impl<'a> Sub<&'a Float> for Complex
[src]
type Output = Complex
The resulting type after applying the -
operator
fn sub(self, rhs: &'a Float) -> Complex
The method for the -
operator
impl<'a> SubRound<&'a Float> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the subtraction.
fn sub_round(
self,
rhs: &'a Float,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: &'a Float,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the subtraction. Read more
impl Sub<Float> for Complex
[src]
type Output = Complex
The resulting type after applying the -
operator
fn sub(self, rhs: Float) -> Complex
The method for the -
operator
impl SubRound<Float> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the subtraction.
fn sub_round(
self,
rhs: Float,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: Float,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the subtraction. Read more
impl<'a> Sub<&'a Float> for &'a Complex
[src]
type Output = SubRefFloat<'a>
The resulting type after applying the -
operator
fn sub(self, rhs: &'a Float) -> SubRefFloat<'a>
The method for the -
operator
impl<'a> SubAssign<&'a Float> for Complex
[src]
fn sub_assign(&mut self, rhs: &'a Float)
The method for the -=
operator
impl SubAssign<Float> for Complex
[src]
fn sub_assign(&mut self, rhs: Float)
The method for the -=
operator
impl<'a> AssignRound<SubRefFloat<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: SubRefFloat,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: SubRefFloat,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<SubFromRefFloat<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: SubFromRefFloat,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: SubFromRefFloat,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> Sub<Float> for &'a Complex
[src]
type Output = SubFromRefFloat<'a>
The resulting type after applying the -
operator
fn sub(self, rhs: Float) -> SubFromRefFloat<'a>
The method for the -
operator
impl<'a> SubFromAssign<&'a Float> for Complex
[src]
fn sub_from_assign(&mut self, lhs: &'a Float)
Peforms the subtraction. Read more
impl SubFromAssign<Float> for Complex
[src]
fn sub_from_assign(&mut self, lhs: Float)
Peforms the subtraction. Read more
impl<'a> AssignRound<SubRefFloatOwn<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: SubRefFloatOwn,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: SubRefFloatOwn,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<SubFromRefFloatOwn<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: SubFromRefFloatOwn,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: SubFromRefFloatOwn,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> Mul<&'a Float> for Complex
[src]
type Output = Complex
The resulting type after applying the *
operator
fn mul(self, rhs: &'a Float) -> Complex
The method for the *
operator
impl<'a> MulRound<&'a Float> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the multiplication.
fn mul_round(
self,
rhs: &'a Float,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: &'a Float,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the multiplication. Read more
impl Mul<Float> for Complex
[src]
type Output = Complex
The resulting type after applying the *
operator
fn mul(self, rhs: Float) -> Complex
The method for the *
operator
impl MulRound<Float> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the multiplication.
fn mul_round(
self,
rhs: Float,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: Float,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the multiplication. Read more
impl<'a> Mul<&'a Float> for &'a Complex
[src]
type Output = MulRefFloat<'a>
The resulting type after applying the *
operator
fn mul(self, rhs: &'a Float) -> MulRefFloat<'a>
The method for the *
operator
impl<'a> MulAssign<&'a Float> for Complex
[src]
fn mul_assign(&mut self, rhs: &'a Float)
The method for the *=
operator
impl MulAssign<Float> for Complex
[src]
fn mul_assign(&mut self, rhs: Float)
The method for the *=
operator
impl<'a> AssignRound<MulRefFloat<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: MulRefFloat,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: MulRefFloat,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<MulRefFloatOwn<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: MulRefFloatOwn,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: MulRefFloatOwn,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> Mul<Float> for &'a Complex
[src]
type Output = MulRefFloatOwn<'a>
The resulting type after applying the *
operator
fn mul(self, rhs: Float) -> MulRefFloatOwn<'a>
The method for the *
operator
impl<'a> Div<&'a Float> for Complex
[src]
type Output = Complex
The resulting type after applying the /
operator
fn div(self, rhs: &'a Float) -> Complex
The method for the /
operator
impl<'a> DivRound<&'a Float> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the division.
fn div_round(
self,
rhs: &'a Float,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: &'a Float,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the division. Read more
impl Div<Float> for Complex
[src]
type Output = Complex
The resulting type after applying the /
operator
fn div(self, rhs: Float) -> Complex
The method for the /
operator
impl DivRound<Float> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the division.
fn div_round(
self,
rhs: Float,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: Float,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the division. Read more
impl<'a> Div<&'a Float> for &'a Complex
[src]
type Output = DivRefFloat<'a>
The resulting type after applying the /
operator
fn div(self, rhs: &'a Float) -> DivRefFloat<'a>
The method for the /
operator
impl<'a> DivAssign<&'a Float> for Complex
[src]
fn div_assign(&mut self, rhs: &'a Float)
The method for the /=
operator
impl DivAssign<Float> for Complex
[src]
fn div_assign(&mut self, rhs: Float)
The method for the /=
operator
impl<'a> AssignRound<DivRefFloat<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: DivRefFloat,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: DivRefFloat,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<DivFromRefFloat<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: DivFromRefFloat,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: DivFromRefFloat,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> Div<Float> for &'a Complex
[src]
type Output = DivFromRefFloat<'a>
The resulting type after applying the /
operator
fn div(self, rhs: Float) -> DivFromRefFloat<'a>
The method for the /
operator
impl<'a> DivFromAssign<&'a Float> for Complex
[src]
fn div_from_assign(&mut self, lhs: &'a Float)
Peforms the division. Read more
impl DivFromAssign<Float> for Complex
[src]
fn div_from_assign(&mut self, lhs: Float)
Peforms the division. Read more
impl<'a> AssignRound<DivRefFloatOwn<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: DivRefFloatOwn,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: DivRefFloatOwn,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<DivFromRefFloatOwn<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: DivFromRefFloatOwn,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: DivFromRefFloatOwn,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> Pow<&'a Float> for Complex
[src]
type Output = Complex
The resulting type after the power operation.
fn pow(self, rhs: &'a Float) -> Complex
Performs the power operation. Read more
impl<'a> PowRound<&'a Float> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the power operation.
fn pow_round(
self,
rhs: &'a Float,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: &'a Float,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the power operation. Read more
impl Pow<Float> for Complex
[src]
type Output = Complex
The resulting type after the power operation.
fn pow(self, rhs: Float) -> Complex
Performs the power operation. Read more
impl PowRound<Float> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the power operation.
fn pow_round(
self,
rhs: Float,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: Float,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the power operation. Read more
impl<'a> Pow<&'a Float> for &'a Complex
[src]
type Output = PowRefFloat<'a>
The resulting type after the power operation.
fn pow(self, rhs: &'a Float) -> PowRefFloat<'a>
Performs the power operation. Read more
impl<'a> PowAssign<&'a Float> for Complex
[src]
fn pow_assign(&mut self, rhs: &'a Float)
Peforms the power operation. Read more
impl PowAssign<Float> for Complex
[src]
fn pow_assign(&mut self, rhs: Float)
Peforms the power operation. Read more
impl<'a> AssignRound<PowRefFloat<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: PowRefFloat,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: PowRefFloat,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<PowRefFloatOwn<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: PowRefFloatOwn,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: PowRefFloatOwn,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> Pow<Float> for &'a Complex
[src]
type Output = PowRefFloatOwn<'a>
The resulting type after the power operation.
fn pow(self, rhs: Float) -> PowRefFloatOwn<'a>
Performs the power operation. Read more
impl<'a> Pow<&'a Integer> for Complex
[src]
type Output = Complex
The resulting type after the power operation.
fn pow(self, rhs: &'a Integer) -> Complex
Performs the power operation. Read more
impl<'a> PowRound<&'a Integer> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the power operation.
fn pow_round(
self,
rhs: &'a Integer,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: &'a Integer,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the power operation. Read more
impl Pow<Integer> for Complex
[src]
type Output = Complex
The resulting type after the power operation.
fn pow(self, rhs: Integer) -> Complex
Performs the power operation. Read more
impl PowRound<Integer> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the power operation.
fn pow_round(
self,
rhs: Integer,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: Integer,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the power operation. Read more
impl<'a> Pow<&'a Integer> for &'a Complex
[src]
type Output = PowRefInteger<'a>
The resulting type after the power operation.
fn pow(self, rhs: &'a Integer) -> PowRefInteger<'a>
Performs the power operation. Read more
impl<'a> PowAssign<&'a Integer> for Complex
[src]
fn pow_assign(&mut self, rhs: &'a Integer)
Peforms the power operation. Read more
impl PowAssign<Integer> for Complex
[src]
fn pow_assign(&mut self, rhs: Integer)
Peforms the power operation. Read more
impl<'a> AssignRound<PowRefInteger<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: PowRefInteger,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: PowRefInteger,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> AssignRound<PowRefIntegerOwn<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: PowRefIntegerOwn,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: PowRefIntegerOwn,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> Pow<Integer> for &'a Complex
[src]
type Output = PowRefIntegerOwn<'a>
The resulting type after the power operation.
fn pow(self, rhs: Integer) -> PowRefIntegerOwn<'a>
Performs the power operation. Read more
impl Add<u32> for Complex
[src]
type Output = Complex
The resulting type after applying the +
operator
fn add(self, rhs: u32) -> Complex
The method for the +
operator
impl AddRound<u32> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the addition.
fn add_round(
self,
rhs: u32,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: u32,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the addition. Read more
impl<'a> Add<u32> for &'a Complex
[src]
type Output = AddRefU32<'a>
The resulting type after applying the +
operator
fn add(self, rhs: u32) -> AddRefU32<'a>
The method for the +
operator
impl AddAssign<u32> for Complex
[src]
fn add_assign(&mut self, rhs: u32)
The method for the +=
operator
impl<'a> AssignRound<AddRefU32<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: AddRefU32,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: AddRefU32,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl Sub<u32> for Complex
[src]
type Output = Complex
The resulting type after applying the -
operator
fn sub(self, rhs: u32) -> Complex
The method for the -
operator
impl SubRound<u32> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the subtraction.
fn sub_round(
self,
rhs: u32,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: u32,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the subtraction. Read more
impl<'a> Sub<u32> for &'a Complex
[src]
type Output = SubRefU32<'a>
The resulting type after applying the -
operator
fn sub(self, rhs: u32) -> SubRefU32<'a>
The method for the -
operator
impl SubAssign<u32> for Complex
[src]
fn sub_assign(&mut self, rhs: u32)
The method for the -=
operator
impl<'a> AssignRound<SubRefU32<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: SubRefU32,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: SubRefU32,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl SubFromAssign<u32> for Complex
[src]
fn sub_from_assign(&mut self, lhs: u32)
Peforms the subtraction. Read more
impl<'a> AssignRound<SubFromRefU32<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: SubFromRefU32,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: SubFromRefU32,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl Mul<u32> for Complex
[src]
type Output = Complex
The resulting type after applying the *
operator
fn mul(self, rhs: u32) -> Complex
The method for the *
operator
impl MulRound<u32> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the multiplication.
fn mul_round(
self,
rhs: u32,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: u32,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the multiplication. Read more
impl<'a> Mul<u32> for &'a Complex
[src]
type Output = MulRefU32<'a>
The resulting type after applying the *
operator
fn mul(self, rhs: u32) -> MulRefU32<'a>
The method for the *
operator
impl MulAssign<u32> for Complex
[src]
fn mul_assign(&mut self, rhs: u32)
The method for the *=
operator
impl<'a> AssignRound<MulRefU32<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: MulRefU32,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: MulRefU32,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl Div<u32> for Complex
[src]
type Output = Complex
The resulting type after applying the /
operator
fn div(self, rhs: u32) -> Complex
The method for the /
operator
impl DivRound<u32> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the division.
fn div_round(
self,
rhs: u32,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: u32,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the division. Read more
impl<'a> Div<u32> for &'a Complex
[src]
type Output = DivRefU32<'a>
The resulting type after applying the /
operator
fn div(self, rhs: u32) -> DivRefU32<'a>
The method for the /
operator
impl DivAssign<u32> for Complex
[src]
fn div_assign(&mut self, rhs: u32)
The method for the /=
operator
impl<'a> AssignRound<DivRefU32<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: DivRefU32,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: DivRefU32,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl DivFromAssign<u32> for Complex
[src]
fn div_from_assign(&mut self, lhs: u32)
Peforms the division. Read more
impl<'a> AssignRound<DivFromRefU32<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: DivFromRefU32,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: DivFromRefU32,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl Add<i32> for Complex
[src]
type Output = Complex
The resulting type after applying the +
operator
fn add(self, rhs: i32) -> Complex
The method for the +
operator
impl AddRound<i32> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the addition.
fn add_round(
self,
rhs: i32,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: i32,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the addition. Read more
impl<'a> Add<i32> for &'a Complex
[src]
type Output = AddRefI32<'a>
The resulting type after applying the +
operator
fn add(self, rhs: i32) -> AddRefI32<'a>
The method for the +
operator
impl AddAssign<i32> for Complex
[src]
fn add_assign(&mut self, rhs: i32)
The method for the +=
operator
impl<'a> AssignRound<AddRefI32<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: AddRefI32,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: AddRefI32,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl Sub<i32> for Complex
[src]
type Output = Complex
The resulting type after applying the -
operator
fn sub(self, rhs: i32) -> Complex
The method for the -
operator
impl SubRound<i32> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the subtraction.
fn sub_round(
self,
rhs: i32,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: i32,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the subtraction. Read more
impl<'a> Sub<i32> for &'a Complex
[src]
type Output = SubRefI32<'a>
The resulting type after applying the -
operator
fn sub(self, rhs: i32) -> SubRefI32<'a>
The method for the -
operator
impl SubAssign<i32> for Complex
[src]
fn sub_assign(&mut self, rhs: i32)
The method for the -=
operator
impl<'a> AssignRound<SubRefI32<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: SubRefI32,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: SubRefI32,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl SubFromAssign<i32> for Complex
[src]
fn sub_from_assign(&mut self, lhs: i32)
Peforms the subtraction. Read more
impl<'a> AssignRound<SubFromRefI32<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: SubFromRefI32,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: SubFromRefI32,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl Mul<i32> for Complex
[src]
type Output = Complex
The resulting type after applying the *
operator
fn mul(self, rhs: i32) -> Complex
The method for the *
operator
impl MulRound<i32> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the multiplication.
fn mul_round(
self,
rhs: i32,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: i32,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the multiplication. Read more
impl<'a> Mul<i32> for &'a Complex
[src]
type Output = MulRefI32<'a>
The resulting type after applying the *
operator
fn mul(self, rhs: i32) -> MulRefI32<'a>
The method for the *
operator
impl MulAssign<i32> for Complex
[src]
fn mul_assign(&mut self, rhs: i32)
The method for the *=
operator
impl<'a> AssignRound<MulRefI32<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: MulRefI32,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: MulRefI32,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl Div<i32> for Complex
[src]
type Output = Complex
The resulting type after applying the /
operator
fn div(self, rhs: i32) -> Complex
The method for the /
operator
impl DivRound<i32> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the division.
fn div_round(
self,
rhs: i32,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: i32,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the division. Read more
impl<'a> Div<i32> for &'a Complex
[src]
type Output = DivRefI32<'a>
The resulting type after applying the /
operator
fn div(self, rhs: i32) -> DivRefI32<'a>
The method for the /
operator
impl DivAssign<i32> for Complex
[src]
fn div_assign(&mut self, rhs: i32)
The method for the /=
operator
impl<'a> AssignRound<DivRefI32<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: DivRefI32,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: DivRefI32,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl DivFromAssign<i32> for Complex
[src]
fn div_from_assign(&mut self, lhs: i32)
Peforms the division. Read more
impl<'a> AssignRound<DivFromRefI32<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: DivFromRefI32,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: DivFromRefI32,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl Shl<u32> for Complex
[src]
type Output = Complex
The resulting type after applying the <<
operator
fn shl(self, rhs: u32) -> Complex
The method for the <<
operator
impl<'a> Shl<u32> for &'a Complex
[src]
type Output = ShlRefU32<'a>
The resulting type after applying the <<
operator
fn shl(self, rhs: u32) -> ShlRefU32<'a>
The method for the <<
operator
impl ShlAssign<u32> for Complex
[src]
fn shl_assign(&mut self, rhs: u32)
The method for the <<=
operator
impl<'a> AssignRound<ShlRefU32<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: ShlRefU32,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: ShlRefU32,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl Shr<u32> for Complex
[src]
type Output = Complex
The resulting type after applying the >>
operator
fn shr(self, rhs: u32) -> Complex
The method for the >>
operator
impl<'a> Shr<u32> for &'a Complex
[src]
type Output = ShrRefU32<'a>
The resulting type after applying the >>
operator
fn shr(self, rhs: u32) -> ShrRefU32<'a>
The method for the >>
operator
impl ShrAssign<u32> for Complex
[src]
fn shr_assign(&mut self, rhs: u32)
The method for the >>=
operator
impl<'a> AssignRound<ShrRefU32<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: ShrRefU32,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: ShrRefU32,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl Pow<u32> for Complex
[src]
type Output = Complex
The resulting type after the power operation.
fn pow(self, rhs: u32) -> Complex
Performs the power operation. Read more
impl PowRound<u32> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the power operation.
fn pow_round(
self,
rhs: u32,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: u32,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the power operation. Read more
impl<'a> Pow<u32> for &'a Complex
[src]
type Output = PowRefU32<'a>
The resulting type after the power operation.
fn pow(self, rhs: u32) -> PowRefU32<'a>
Performs the power operation. Read more
impl PowAssign<u32> for Complex
[src]
fn pow_assign(&mut self, rhs: u32)
Peforms the power operation. Read more
impl<'a> AssignRound<PowRefU32<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: PowRefU32,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: PowRefU32,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl Shl<i32> for Complex
[src]
type Output = Complex
The resulting type after applying the <<
operator
fn shl(self, rhs: i32) -> Complex
The method for the <<
operator
impl<'a> Shl<i32> for &'a Complex
[src]
type Output = ShlRefI32<'a>
The resulting type after applying the <<
operator
fn shl(self, rhs: i32) -> ShlRefI32<'a>
The method for the <<
operator
impl ShlAssign<i32> for Complex
[src]
fn shl_assign(&mut self, rhs: i32)
The method for the <<=
operator
impl<'a> AssignRound<ShlRefI32<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: ShlRefI32,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: ShlRefI32,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl Shr<i32> for Complex
[src]
type Output = Complex
The resulting type after applying the >>
operator
fn shr(self, rhs: i32) -> Complex
The method for the >>
operator
impl<'a> Shr<i32> for &'a Complex
[src]
type Output = ShrRefI32<'a>
The resulting type after applying the >>
operator
fn shr(self, rhs: i32) -> ShrRefI32<'a>
The method for the >>
operator
impl ShrAssign<i32> for Complex
[src]
fn shr_assign(&mut self, rhs: i32)
The method for the >>=
operator
impl<'a> AssignRound<ShrRefI32<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: ShrRefI32,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: ShrRefI32,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl Pow<i32> for Complex
[src]
type Output = Complex
The resulting type after the power operation.
fn pow(self, rhs: i32) -> Complex
Performs the power operation. Read more
impl PowRound<i32> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the power operation.
fn pow_round(
self,
rhs: i32,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: i32,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the power operation. Read more
impl<'a> Pow<i32> for &'a Complex
[src]
type Output = PowRefI32<'a>
The resulting type after the power operation.
fn pow(self, rhs: i32) -> PowRefI32<'a>
Performs the power operation. Read more
impl PowAssign<i32> for Complex
[src]
fn pow_assign(&mut self, rhs: i32)
Peforms the power operation. Read more
impl<'a> AssignRound<PowRefI32<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: PowRefI32,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: PowRefI32,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl Pow<f64> for Complex
[src]
type Output = Complex
The resulting type after the power operation.
fn pow(self, rhs: f64) -> Complex
Performs the power operation. Read more
impl PowRound<f64> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the power operation.
fn pow_round(
self,
rhs: f64,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: f64,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the power operation. Read more
impl<'a> Pow<f64> for &'a Complex
[src]
type Output = PowRefF64<'a>
The resulting type after the power operation.
fn pow(self, rhs: f64) -> PowRefF64<'a>
Performs the power operation. Read more
impl PowAssign<f64> for Complex
[src]
fn pow_assign(&mut self, rhs: f64)
Peforms the power operation. Read more
impl<'a> AssignRound<PowRefF64<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: PowRefF64,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: PowRefF64,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl Pow<f32> for Complex
[src]
type Output = Complex
The resulting type after the power operation.
fn pow(self, rhs: f32) -> Complex
Performs the power operation. Read more
impl PowRound<f32> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the power operation.
fn pow_round(
self,
rhs: f32,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: f32,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Performs the power operation. Read more
impl<'a> Pow<f32> for &'a Complex
[src]
type Output = PowRefF32<'a>
The resulting type after the power operation.
fn pow(self, rhs: f32) -> PowRefF32<'a>
Performs the power operation. Read more
impl PowAssign<f32> for Complex
[src]
fn pow_assign(&mut self, rhs: f32)
Peforms the power operation. Read more
impl<'a> AssignRound<PowRefF32<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
src: PowRefF32,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
src: PowRefF32,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more
impl<'a> Add<MulRef<'a>> for Complex
[src]
type Output = Complex
The resulting type after applying the +
operator
fn add(self, rhs: MulRef) -> Complex
Peforms multiplication and addition together, with only one rounding operation to the nearest.
impl<'a> AddRound<MulRef<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
type Output = Complex
The resulting type after the addition.
fn add_round(
self,
rhs: MulRef,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
self,
rhs: MulRef,
round: (Round, Round)
) -> (Complex, (Ordering, Ordering))
Peforms multiplication and addition together with only one rounding operation as specified.
impl<'a> AddAssign<MulRef<'a>> for Complex
[src]
fn add_assign(&mut self, rhs: MulRef)
Peforms multiplication and addition together, with only one rounding operation to the nearest.
impl PartialEq for Complex
[src]
fn eq(&self, other: &Complex) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl<T, U> PartialEq<(T, U)> for Complex where
Float: PartialEq<T>,
Float: PartialEq<U>,
[src]
Float: PartialEq<T>,
Float: PartialEq<U>,
fn eq(&self, other: &(T, U)) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl PartialEq<Integer> for Complex
[src]
fn eq(&self, other: &Integer) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl PartialEq<Rational> for Complex
[src]
fn eq(&self, other: &Rational) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl PartialEq<Float> for Complex
[src]
fn eq(&self, other: &Float) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl PartialEq<u32> for Complex
[src]
fn eq(&self, other: &u32) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl PartialEq<i32> for Complex
[src]
fn eq(&self, other: &i32) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl PartialEq<f64> for Complex
[src]
fn eq(&self, other: &f64) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl PartialEq<f32> for Complex
[src]
fn eq(&self, other: &f32) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl<'a> AssignRound<ValidComplex<'a>> for Complex
[src]
type Round = (Round, Round)
The rounding method.
type Ordering = (Ordering, Ordering)
The direction from rounding.
fn assign_round(
&mut self,
rhs: ValidComplex,
round: (Round, Round)
) -> (Ordering, Ordering)
&mut self,
rhs: ValidComplex,
round: (Round, Round)
) -> (Ordering, Ordering)
Peforms the assignment and rounding. Read more