[][src]Struct rug::Complex

#[repr(transparent)]pub struct Complex { /* fields omitted */ }

A multi-precision complex number with arbitrarily large precision and correct rounding.

The precision has to be set during construction. The rounding method of the required operations can be specified, and the direction of the rounding is returned.

Examples

use rug::{Assign, Complex, Float};
let c = Complex::with_val(53, (40, 30));
assert_eq!(format!("{:.3}", c), "(4.00e1 3.00e1)");
let mut f = Float::with_val(53, c.abs_ref());
assert_eq!(f, 50);
f.assign(c.arg_ref());
assert_eq!(f, 0.75_f64.atan());

Operations on two borrowed Complex numbers result in an incomplete-computation value that has to be assigned to a new Complex number.

use rug::Complex;
let a = Complex::with_val(53, (10.5, -11));
let b = Complex::with_val(53, (-1.25, -1.5));
let a_b_ref = &a + &b;
let a_b = Complex::with_val(53, a_b_ref);
assert_eq!(a_b, (9.25, -12.5));

As a special case, when an incomplete-computation value is obtained from multiplying two Complex number references, it can be added to or subtracted from another Complex number (or reference). This will result in a fused multiply-accumulate operation, with only one rounding operation taking place.

use rug::Complex;
let mut acc = Complex::with_val(53, (1000, 1000));
let m1 = Complex::with_val(53, (10, 0));
let m2 = Complex::with_val(53, (1, -1));
// (1000 + 1000i) − (10 + 0i) × (1 − i) = (990 + 1010i)
acc -= &m1 * &m2;
assert_eq!(acc, (990, 1010));

The Complex number type supports various functions. Most methods have four versions:

  1. The first method consumes the operand and rounds the returned Complex number to the nearest representable value.
  2. The second method has a “_mut” suffix, mutates the operand and rounds it the nearest representable value.
  3. The third method has a “_round” suffix, mutates the operand, applies the specified rounding method to the real and imaginary parts, and returns the rounding direction for both:
    • Ordering::Less if the stored part is less than the exact result,
    • Ordering::Equal if the stored part is equal to the exact result,
    • Ordering::Greater if the stored part is greater than the exact result.
  4. The fourth method has a “_ref” suffix and borrows the operand. The returned item is an incomplete-computation value that can be assigned to a Complex number; the rounding method is selected during the assignment.
use core::cmp::Ordering;
use rug::{float::Round, Complex};
let expected = Complex::with_val(53, (1.2985, 0.6350));

// 1. consume the operand, round to nearest
let a = Complex::with_val(53, (1, 1));
let sin_a = a.sin();
assert!(*(sin_a - &expected).abs().real() < 0.0001);

// 2. mutate the operand, round to nearest
let mut b = Complex::with_val(53, (1, 1));
b.sin_mut();
assert!(*(b - &expected).abs().real() < 0.0001);

// 3. mutate the operand, apply specified rounding
let mut c = Complex::with_val(4, (1, 1));
// using 4 significant bits, 1.2985 is rounded down to 1.25
// and 0.6350 is rounded down to 0.625.
let dir = c.sin_round((Round::Nearest, Round::Nearest));
assert_eq!(c, (1.25, 0.625));
assert_eq!(dir, (Ordering::Less, Ordering::Less));

// 4. borrow the operand
let d = Complex::with_val(53, (1, 1));
let r = d.sin_ref();
let sin_d = Complex::with_val(53, r);
assert!(*(sin_d - &expected).abs().real() < 0.0001);
// d was not consumed
assert_eq!(d, (1, 1));

Methods

impl Complex[src]

pub fn new<P: Prec>(prec: P) -> Self[src]

Create a new Complex number with the specified precisions for the real and imaginary parts and with value 0.

Panics

Panics if the precision is out of the allowed range.

Examples

use rug::Complex;
let c1 = Complex::new(32);
assert_eq!(c1.prec(), (32, 32));
assert_eq!(c1, 0);
let c2 = Complex::new((32, 64));
assert_eq!(c2.prec(), (32, 64));
assert_eq!(c2, 0);

pub fn with_val<P, T>(prec: P, val: T) -> Self where
    Self: Assign<T>,
    P: Prec
[src]

Create a new Complex number with the specified precision and with the given value, rounding to the nearest.

Panics

Panics if prec is out of the allowed range.

Examples

use rug::Complex;
let c1 = Complex::with_val(53, (1.3f64, -12));
assert_eq!(c1.prec(), (53, 53));
assert_eq!(c1, (1.3f64, -12));
let c2 = Complex::with_val(53, 42.0);
assert_eq!(c2.prec(), (53, 53));
assert_eq!(c2, 42);
assert_eq!(c2, (42, 0));

pub fn with_val_round<P, T>(
    prec: P,
    val: T,
    round: (Round, Round)
) -> (Self, (Ordering, Ordering)) where
    Self: AssignRound<T, Round = (Round, Round), Ordering = (Ordering, Ordering)>,
    P: Prec
[src]

Create a new Complex number with the specified precision and with the given value, applying the specified rounding method.

Panics

Panics if prec is out of the allowed range.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
let round = (Round::Down, Round::Up);
let (c, dir) = Complex::with_val_round(4, (3.3, 2.3), round);
// 3.3 is rounded down to 3.25, 2.3 is rounded up to 2.5
assert_eq!(c.prec(), (4, 4));
assert_eq!(c, (3.25, 2.5));
assert_eq!(dir, (Ordering::Less, Ordering::Greater));

pub fn prec(&self) -> (u32, u32)[src]

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));

pub fn set_prec<P: Prec>(&mut self, prec: P)[src]

Sets the precision of the real and imaginary parts, rounding to the nearest.

Panics

Panics if the precision is out of the allowed range.

Examples

use rug::Complex;
let mut r = Complex::with_val(6, (4.875, 4.625));
assert_eq!(r, (4.875, 4.625));
r.set_prec(4);
assert_eq!(r, (5.0, 4.5));

pub fn set_prec_round<P: Prec>(
    &mut self,
    prec: P,
    round: (Round, Round)
) -> (Ordering, Ordering)
[src]

Sets the precision of the real and imaginary parts, applying the specified rounding method.

Panics

Panics if the precision is out of the allowed range.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
let mut r = Complex::with_val(6, (4.875, 4.625));
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));

pub unsafe fn from_raw(raw: mpc_t) -> Self[src]

Creates a Complex number from an initialized MPC complex number.

Safety

  • The value must be initialized.
  • The mpc_t type can be considered as a kind of pointer, so there can be multiple copies of it. Since this function takes over ownership, no other copies of the passed value should exist.

Examples

use gmp_mpfr_sys::mpc;
use core::mem::MaybeUninit;
use rug::Complex;
let c = unsafe {
    let mut m = MaybeUninit::uninit();
    mpc::init3(m.as_mut_ptr(), 53, 53);
    let mut m = m.assume_init();
    mpc::set_d_d(&mut m, -14.5, 3.25, mpc::RNDNN);
    // m is initialized and unique
    Complex::from_raw(m)
};
assert_eq!(c, (-14.5, 3.25));
// since c is a Complex now, deallocation is automatic

pub fn into_raw(self) -> mpc_t[src]

Converts a Complex number into an MPC complex number.

The returned object should be freed to avoid memory leaks.

Examples

use gmp_mpfr_sys::{
    mpc,
    mpfr::{self, rnd_t},
};
use rug::Complex;
let c = Complex::with_val(53, (-14.5, 3.25));
let mut m = c.into_raw();
unsafe {
    let re_ptr = mpc::realref_const(&m);
    let re = mpfr::get_d(re_ptr, rnd_t::RNDN);
    assert_eq!(re, -14.5);
    let im_ptr = mpc::imagref_const(&m);
    let im = mpfr::get_d(im_ptr, rnd_t::RNDN);
    assert_eq!(im, 3.25);
    // free object to prevent memory leak
    mpc::clear(&mut m);
}

pub fn as_raw(&self) -> *const mpc_t[src]

Returns a pointer to the inner MPC complex number.

The returned pointer will be valid for as long as self is valid.

Examples

use gmp_mpfr_sys::{
    mpc,
    mpfr::{self, rnd_t},
};
use rug::Complex;
let c = Complex::with_val(53, (-14.5, 3.25));
let m_ptr = c.as_raw();
unsafe {
    let re_ptr = mpc::realref_const(m_ptr);
    let re = mpfr::get_d(re_ptr, rnd_t::RNDN);
    assert_eq!(re, -14.5);
    let im_ptr = mpc::imagref_const(m_ptr);
    let im = mpfr::get_d(im_ptr, rnd_t::RNDN);
    assert_eq!(im, 3.25);
}
// c is still valid
assert_eq!(c, (-14.5, 3.25));

pub fn as_raw_mut(&mut self) -> *mut mpc_t[src]

Returns an unsafe mutable pointer to the inner MPC complex number.

The returned pointer will be valid for as long as self is valid.

Examples

use gmp_mpfr_sys::mpc;
use rug::Complex;
let mut c = Complex::with_val(53, (-14.5, 3.25));
let m_ptr = c.as_raw_mut();
unsafe {
    mpc::conj(m_ptr, m_ptr, mpc::RNDNN);
}
assert_eq!(c, (-14.5, -3.25));

pub fn parse<S: AsRef<[u8]>>(
    src: S
) -> Result<ParseIncomplete, ParseComplexError>
[src]

Parses a decimal string slice (&str) or byte slice (&[u8]) into a Complex number.

AssignRound<Src> for Complex is implemented with the unwrapped returned incomplete-computation value as Src.

The string can contain either of the following three:

  1. One floating-point number that can be parsed by Float::parse. ASCII whitespace is treated in the same way as well.
  2. Two floating-point numbers inside round brackets separated by one comma. ASCII whitespace is treated in the same way as 1 above, and is also allowed around the brackets and the comma.
  3. Two floating-point numbers inside round brackets separated by ASCII whitespace. Since the real and imaginary parts are separated by whitespace, they themselves cannot contain whitespace. ASCII whitespace is still allowed around the brackets and between the two parts.

Examples

use core::f64;
use rug::Complex;

let valid1 = Complex::parse("(12.5, -13.5)");
let c1 = Complex::with_val(53, valid1.unwrap());
assert_eq!(c1, (12.5, -13.5));
let valid2 = Complex::parse("(inf 0.0)");
let c2 = Complex::with_val(53, valid2.unwrap());
assert_eq!(c2, (f64::INFINITY, 0.0));

let invalid = Complex::parse("(1 2 3)");
assert!(invalid.is_err());

pub fn parse_radix<S: AsRef<[u8]>>(
    src: S,
    radix: i32
) -> Result<ParseIncomplete, ParseComplexError>
[src]

Parses a string slice (&str) or byte slice (&[u8]) into a Complex number.

AssignRound<Src> for Complex is implemented with the unwrapped returned incomplete-computation value as Src.

The string can contain either of the following three:

  1. One floating-point number that can be parsed by Float::parse_radix. ASCII whitespace is treated in the same way as well.
  2. Two floating-point numbers inside round brackets separated by one comma. ASCII whitespace is treated in the same way as 1 above, and is also allowed around the brackets and the comma.
  3. Two floating-point numbers inside round brackets separated by ASCII whitespace. Since the real and imaginary parts are separated by whitespace, they themselves cannot contain whitespace. ASCII whitespace is still allowed around the brackets and between the two parts.

Panics

Panics if radix is less than 2 or greater than 36.

Examples

use core::f64;
use rug::Complex;

let valid1 = Complex::parse_radix("(12, 1a)", 16);
let c1 = Complex::with_val(53, valid1.unwrap());
assert_eq!(c1, (0x12, 0x1a));
let valid2 = Complex::parse_radix("(@inf@ zz)", 36);
let c2 = Complex::with_val(53, valid2.unwrap());
assert_eq!(c2, (f64::INFINITY, 35 * 36 + 35));

let invalid = Complex::parse_radix("(1 2 3)", 10);
assert!(invalid.is_err());

pub fn to_string_radix(&self, radix: i32, num_digits: Option<usize>) -> String[src]

Returns a string representation of the value 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.

Panics

Panics if radix is less than 2 or greater than 36.

Examples

use rug::Complex;
let c1 = Complex::with_val(53, 0);
assert_eq!(c1.to_string_radix(10, None), "(0.0 0.0)");
let c2 = Complex::with_val(12, (15, 5));
assert_eq!(c2.to_string_radix(16, None), "(f.000 5.000)");
let c3 = Complex::with_val(53, (10, -4));
assert_eq!(c3.to_string_radix(10, Some(3)), "(1.00e1 -4.00)");
assert_eq!(c3.to_string_radix(5, Some(3)), "(2.00e1 -4.00)");

pub fn to_string_radix_round(
    &self,
    radix: i32,
    num_digits: Option<usize>,
    round: (Round, Round)
) -> String
[src]

Returns a string representation of the value 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.

Panics

Panics if radix is less than 2 or greater than 36.

Examples

use rug::{float::Round, Complex};
let c = Complex::with_val(10, 10.4);
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)");

pub fn real(&self) -> &Float[src]

Borrows the real part as a Float.

Examples

use rug::Complex;
let c = Complex::with_val(53, (12.5, -20.75));
assert_eq!(*c.real(), 12.5)

pub fn imag(&self) -> &Float[src]

Borrows the imaginary part as a Float.

Examples

use rug::Complex;
let c = Complex::with_val(53, (12.5, -20.75));
assert_eq!(*c.imag(), -20.75)

pub fn mut_real(&mut self) -> &mut Float[src]

Borrows the real part mutably.

Examples

use rug::Complex;
let mut c = Complex::with_val(53, (12.5, -20.75));
assert_eq!(c, (12.5, -20.75));
*c.mut_real() /= 2;
assert_eq!(c, (6.25, -20.75));

pub fn mut_imag(&mut self) -> &mut Float[src]

Borrows the imaginary part mutably.

Examples

use rug::Complex;
let mut c = Complex::with_val(53, (12.5, -20.75));
assert_eq!(c, (12.5, -20.75));
*c.mut_imag() *= 4;
assert_eq!(c, (12.5, -83));

pub fn as_mut_real_imag(&mut self) -> (&mut Float, &mut Float)[src]

Borrows the real and imaginary parts mutably.

Examples

use rug::Complex;

let mut c = Complex::with_val(53, (12.5, -20.75));
{
    let (real, imag) = c.as_mut_real_imag();
    *real /= 2;
    *imag *= 4;
    // borrow ends here
}
assert_eq!(c, (6.25, -83));

pub fn into_real_imag(self) -> (Float, Float)[src]

Consumes and converts the value into real and imaginary Float values.

This function reuses the allocated memory and does not allocate any new memory.

use rug::Complex;
let c = Complex::with_val(53, (12.5, -20.75));
let (real, imag) = c.into_real_imag();
assert_eq!(real, 12.5);
assert_eq!(imag, -20.75);

pub fn as_neg(&self) -> BorrowComplex[src]

Borrows a negated copy of the Complex number.

The returned object implements Deref<Target = Complex>.

This method performs a shallow copy and negates it, and negation does not change the allocated data.

Examples

use rug::Complex;
let c = Complex::with_val(53, (4.2, -2.3));
let neg_c = c.as_neg();
assert_eq!(*neg_c, (-4.2, 2.3));
// methods taking &self can be used on the returned object
let reneg_c = neg_c.as_neg();
assert_eq!(*reneg_c, (4.2, -2.3));
assert_eq!(*reneg_c, c);

pub fn as_conj(&self) -> BorrowComplex[src]

Borrows a conjugate copy of the Complex number.

The returned object implements Deref<Target = Complex>.

This method performs a shallow copy and negates its imaginary part, and negation does not change the allocated data.

Examples

use rug::Complex;
let c = Complex::with_val(53, (4.2, -2.3));
let conj_c = c.as_conj();
assert_eq!(*conj_c, (4.2, 2.3));
// methods taking &self can be used on the returned object
let reconj_c = conj_c.as_conj();
assert_eq!(*reconj_c, (4.2, -2.3));
assert_eq!(*reconj_c, c);

pub fn as_mul_i(&self, negative: bool) -> BorrowComplex[src]

Borrows a rotated copy of the Complex number.

The returned object implements Deref<Target = Complex>.

This method operates by performing some shallow copying; unlike the mul_i method and friends, this method swaps the precision of the real and imaginary parts if they have unequal precisions.

Examples

use rug::Complex;
let c = Complex::with_val(53, (4.2, -2.3));
let mul_i_c = c.as_mul_i(false);
assert_eq!(*mul_i_c, (2.3, 4.2));
// methods taking &self can be used on the returned object
let mul_ii_c = mul_i_c.as_mul_i(false);
assert_eq!(*mul_ii_c, (-4.2, 2.3));
let mul_1_c = mul_i_c.as_mul_i(true);
assert_eq!(*mul_1_c, (4.2, -2.3));
assert_eq!(*mul_1_c, c);

pub fn as_ord(&self) -> &OrdComplex[src]

Borrows the Complex number as an ordered complex number of type OrdComplex.

The same result can be obtained using the implementation of AsRef<OrdComplex> which is provided for Complex.

Examples

use core::cmp::Ordering;
use rug::{float::Special, Complex};

let nan_c = Complex::with_val(53, (Special::Nan, Special::Nan));
let nan = nan_c.as_ord();
assert_eq!(nan.cmp(nan), Ordering::Equal);

let one_neg0_c = Complex::with_val(53, (1, Special::NegZero));
let one_neg0 = one_neg0_c.as_ord();
let one_pos0_c = Complex::with_val(53, (1, Special::Zero));
let one_pos0 = one_pos0_c.as_ord();
assert_eq!(one_neg0.cmp(one_pos0), Ordering::Less);

let zero_inf_s = (Special::Zero, Special::Infinity);
let zero_inf_c = Complex::with_val(53, zero_inf_s);
let zero_inf = zero_inf_c.as_ord();
assert_eq!(one_pos0.cmp(zero_inf), Ordering::Greater);

pub fn eq0(&self) -> bool[src]

Returns the same result as self.eq(&0), but is faster.

Examples

use rug::{float::Special, Assign, Complex};
let mut c = Complex::with_val(53, (Special::NegZero, Special::Zero));
assert!(c.eq0());
c += 5.2;
assert!(!c.eq0());
c.mut_real().assign(Special::Nan);
assert!(!c.eq0());

pub fn cmp_abs(&self, other: &Self) -> Option<Ordering>[src]

Compares the absolute values of self and other.

Examples

use core::cmp::Ordering;
use rug::Complex;
let five = Complex::with_val(53, (5, 0));
let five_rotated = Complex::with_val(53, (3, -4));
let greater_than_five = Complex::with_val(53, (-4, -4));
let has_nan = Complex::with_val(53, (5, 0.0 / 0.0));
assert_eq!(five.cmp_abs(&five_rotated), Some(Ordering::Equal));
assert_eq!(five.cmp_abs(&greater_than_five), Some(Ordering::Less));
assert_eq!(five.cmp_abs(&has_nan), None);

pub fn sum<'a, I>(values: I) -> SumIncomplete<'a, I> where
    I: Iterator<Item = &'a Self>, 
[src]

Adds a list of Complex numbers with correct rounding.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use rug::Complex;

// Give each value only 4 bits of precision for example purposes.
let values = [
    Complex::with_val(4, (5.0, 1024.0)),
    Complex::with_val(4, (1024.0, 15.0)),
    Complex::with_val(4, (-1024.0, -1024.0)),
    Complex::with_val(4, (-4.5, -16.0)),
];

// The result should still be exact if it fits.
let r1 = Complex::sum(values.iter());
let sum1 = Complex::with_val(4, r1);
assert_eq!(sum1, (0.5, -1.0));

let r2 = Complex::sum(values.iter());
let sum2 = Complex::with_val(4, (1.0, -1.0)) + r2;
assert_eq!(sum2, (1.5, -2.0));

let r3 = Complex::sum(values.iter());
let mut sum3 = Complex::with_val(4, (16, 16));
sum3 += r3;
// (16.5, 15) rounded to (16, 15)
assert_eq!(sum3, (16, 15));

pub fn dot<'a, I>(values: I) -> DotIncomplete<'a, I> where
    I: Iterator<Item = (&'a Self, &'a Self)>, 
[src]

Finds the dot product of a list of Complex numbers pairs with correct rounding.

The following are implemented with the returned incomplete-computation value as Src:

This method will produce a result with correct rounding, except for some cases where underflow and/or overflow occur in intermediate products.

Examples

use rug::Complex;

let a = [
    Complex::with_val(53, (5.0, 10.25)),
    Complex::with_val(53, (10.25, 5.0)),
];
let b = [
    Complex::with_val(53, (-2.75, -11.5)),
    Complex::with_val(53, (-4.5, 16.0)),
];

let r = Complex::dot(a.iter().zip(b.iter()));
let dot = Complex::with_val(53, r);
let expected = Complex::with_val(53, &a[0] * &b[0]) + &a[1] * &b[1];
assert_eq!(dot, expected);

let r = Complex::dot(a.iter().zip(b.iter()));
let add_dot = Complex::with_val(53, (1.0, 2.0)) + r;
let add_expected = Complex::with_val(53, (1.0, 2.0)) + &expected;
assert_eq!(add_dot, add_expected);

let r = Complex::dot(a.iter().zip(b.iter()));
let mut add_dot2 = Complex::with_val(53, (1.0, 2.0));
add_dot2 += r;
assert_eq!(add_dot2, add_expected);

pub fn mul_add(self, mul: &Self, add: &Self) -> Self[src]

Multiplies and adds in one fused operation, rounding to the nearest with only one rounding error.

a.mul_add(&b, &c) produces a result like &a * &b + &c, but a is consumed and the result produced uses its precision.

Examples

use rug::Complex;
let a = Complex::with_val(53, (10, 0));
let b = Complex::with_val(53, (1, -1));
let c = Complex::with_val(53, (1000, 1000));
// (10 + 0i) × (1 − i) + (1000 + 1000i) = (1010 + 990i)
let mul_add = a.mul_add(&b, &c);
assert_eq!(mul_add, (1010, 990));

pub fn mul_add_mut(&mut self, mul: &Self, add: &Self)[src]

Multiplies and adds in one fused operation, rounding to the nearest with only one rounding error.

a.mul_add_mut(&b, &c) produces a result like &a * &b + &c, but stores the result in a using its precision.

Examples

use rug::Complex;
let mut a = Complex::with_val(53, (10, 0));
let b = Complex::with_val(53, (1, -1));
let c = Complex::with_val(53, (1000, 1000));
// (10 + 0i) × (1 − i) + (1000 + 1000i) = (1010 + 990i)
a.mul_add_mut(&b, &c);
assert_eq!(a, (1010, 990));

pub fn mul_add_round(
    &mut self,
    mul: &Self,
    add: &Self,
    round: (Round, Round)
) -> (Ordering, Ordering)
[src]

Multiplies and adds in one fused operation, applying the specified rounding method with only one rounding error.

a.mul_add_round(&b, &c, round) produces a result like ans.assign_round(&a * &b + &c, round), but stores the result in a using its precision rather than in another Complex number like ans.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
let mut a = Complex::with_val(53, (10, 0));
let b = Complex::with_val(53, (1, -1));
let c = Complex::with_val(53, (1000, 1000));
// (10 + 0i) × (1 − i) + (1000 + 1000i) = (1010 + 990i)
let dir = a.mul_add_round(&b, &c, (Round::Nearest, Round::Nearest));
assert_eq!(a, (1010, 990));
assert_eq!(dir, (Ordering::Equal, Ordering::Equal));

pub fn mul_add_ref<'a>(
    &'a self,
    mul: &'a Self,
    add: &'a Self
) -> AddMulIncomplete<'a>
[src]

Multiplies and adds in one fused operation.

The following are implemented with the returned incomplete-computation value as Src:

a.mul_add_ref(&b, &c) produces the exact same result as &a * &b + &c.

Examples

use rug::Complex;
let a = Complex::with_val(53, (10, 0));
let b = Complex::with_val(53, (1, -1));
let c = Complex::with_val(53, (1000, 1000));
// (10 + 0i) × (1 − i) + (1000 + 1000i) = (1010 + 990i)
let ans = Complex::with_val(53, a.mul_add_ref(&b, &c));
assert_eq!(ans, (1010, 990));

pub fn mul_sub(self, mul: &Self, sub: &Self) -> Self[src]

Multiplies and subtracts in one fused operation, rounding to the nearest with only one rounding error.

a.mul_sub(&b, &c) produces a result like &a * &b - &c, but a is consumed and the result produced uses its precision.

Examples

use rug::Complex;
let a = Complex::with_val(53, (10, 0));
let b = Complex::with_val(53, (1, -1));
let c = Complex::with_val(53, (1000, 1000));
// (10 + 0i) × (1 − i) − (1000 + 1000i) = (−990 − 1010i)
let mul_sub = a.mul_sub(&b, &c);
assert_eq!(mul_sub, (-990, -1010));

pub fn mul_sub_mut(&mut self, mul: &Self, sub: &Self)[src]

Multiplies and subtracts in one fused operation, rounding to the nearest with only one rounding error.

a.mul_sub_mut(&b, &c) produces a result like &a * &b - &c, but stores the result in a using its precision.

Examples

use rug::Complex;
let mut a = Complex::with_val(53, (10, 0));
let b = Complex::with_val(53, (1, -1));
let c = Complex::with_val(53, (1000, 1000));
// (10 + 0i) × (1 − i) − (1000 + 1000i) = (−990 − 1010i)
a.mul_sub_mut(&b, &c);
assert_eq!(a, (-990, -1010));

pub fn mul_sub_round(
    &mut self,
    mul: &Self,
    sub: &Self,
    round: (Round, Round)
) -> (Ordering, Ordering)
[src]

Multiplies and subtracts in one fused operation, applying the specified rounding method with only one rounding error.

a.mul_sub_round(&b, &c, round) produces a result like ans.assign_round(&a * &b - &c, round), but stores the result in a using its precision rather than in another Complex number like ans.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
let mut a = Complex::with_val(53, (10, 0));
let b = Complex::with_val(53, (1, -1));
let c = Complex::with_val(53, (1000, 1000));
// (10 + 0i) × (1 − i) − (1000 + 1000i) = (−990 − 1010i)
let dir = a.mul_sub_round(&b, &c, (Round::Nearest, Round::Nearest));
assert_eq!(a, (-990, -1010));
assert_eq!(dir, (Ordering::Equal, Ordering::Equal));

pub fn mul_sub_ref<'a>(
    &'a self,
    mul: &'a Self,
    sub: &'a Self
) -> SubMulFromIncomplete<'a>
[src]

Multiplies and subtracts in one fused operation.

The following are implemented with the returned incomplete-computation value as Src:

a.mul_sub_ref(&b, &c) produces the exact same result as &a * &b - &c.

Examples

use rug::Complex;
let a = Complex::with_val(53, (10, 0));
let b = Complex::with_val(53, (1, -1));
let c = Complex::with_val(53, (1000, 1000));
// (10 + 0i) × (1 − i) − (1000 + 1000i) = (−990 − 1010i)
let ans = Complex::with_val(53, a.mul_sub_ref(&b, &c));
assert_eq!(ans, (-990, -1010));

pub fn proj(self) -> Self[src]

Computes a projection onto the Riemann sphere, rounding to the nearest.

If no parts of the number are infinite, the result is unchanged. If any part is infinite, the real part of the result is set to +∞ and the imaginary part of the result is set to 0 with the same sign as the imaginary part of the input.

Examples

use core::f64;
use rug::Complex;
let c1 = Complex::with_val(53, (1.5, 2.5));
let proj1 = c1.proj();
assert_eq!(proj1, (1.5, 2.5));
let c2 = Complex::with_val(53, (f64::NAN, f64::NEG_INFINITY));
let proj2 = c2.proj();
assert_eq!(proj2, (f64::INFINITY, 0.0));
// imaginary was negative, so now it is minus zero
assert!(proj2.imag().is_sign_negative());

pub fn proj_mut(&mut self)[src]

Computes a projection onto the Riemann sphere, rounding to the nearest.

If no parts of the number are infinite, the result is unchanged. If any part is infinite, the real part of the result is set to +∞ and the imaginary part of the result is set to 0 with the same sign as the imaginary part of the input.

Examples

use core::f64;
use rug::Complex;
let mut c1 = Complex::with_val(53, (1.5, 2.5));
c1.proj_mut();
assert_eq!(c1, (1.5, 2.5));
let mut c2 = Complex::with_val(53, (f64::NAN, f64::NEG_INFINITY));
c2.proj_mut();
assert_eq!(c2, (f64::INFINITY, 0.0));
// imaginary was negative, so now it is minus zero
assert!(c2.imag().is_sign_negative());

pub fn proj_ref(&self) -> ProjIncomplete[src]

Computes the projection onto the Riemann sphere.

If no parts of the number are infinite, the result is unchanged. If any part is infinite, the real part of the result is set to +∞ and the imaginary part of the result is set to 0 with the same sign as the imaginary part of the input.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use core::f64;
use rug::Complex;
let c1 = Complex::with_val(53, (f64::INFINITY, 50));
let proj1 = Complex::with_val(53, c1.proj_ref());
assert_eq!(proj1, (f64::INFINITY, 0.0));
let c2 = Complex::with_val(53, (f64::NAN, f64::NEG_INFINITY));
let proj2 = Complex::with_val(53, c2.proj_ref());
assert_eq!(proj2, (f64::INFINITY, 0.0));
// imaginary was negative, so now it is minus zero
assert!(proj2.imag().is_sign_negative());

pub fn square(self) -> Self[src]

Computes the square, rounding to the nearest.

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, -2));
// (1 − 2i) squared is (−3 − 4i)
let square = c.square();
assert_eq!(square, (-3, -4));

pub fn square_mut(&mut self)[src]

Computes the square, rounding to the nearest.

Examples

use rug::Complex;
let mut c = Complex::with_val(53, (1, -2));
// (1 − 2i) squared is (−3 − 4i)
c.square_mut();
assert_eq!(c, (-3, -4));

pub fn square_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)[src]

Computes the square, applying the specified rounding method.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
let mut c = Complex::with_val(4, (1.25, 1.25));
// (1.25 + 1.25i) squared is (0 + 3.125i).
// With 4 bits of precision, 3.125 is rounded down to 3.
let dir = c.square_round((Round::Down, Round::Down));
assert_eq!(c, (0, 3));
assert_eq!(dir, (Ordering::Equal, Ordering::Less));

pub fn square_ref(&self) -> SquareIncomplete[src]

Computes the square.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
let c = Complex::with_val(53, (1.25, 1.25));
// (1.25 + 1.25i) squared is (0 + 3.125i).
let r = c.square_ref();
// With 4 bits of precision, 3.125 is rounded down to 3.
let round = (Round::Down, Round::Down);
let (square, dir) = Complex::with_val_round(4, r, round);
assert_eq!(square, (0, 3));
assert_eq!(dir, (Ordering::Equal, Ordering::Less));

pub fn sqrt(self) -> Self[src]

Computes the square root, rounding to the nearest.

Examples

use rug::Complex;
let c = Complex::with_val(53, (-1, 0));
// square root of (−1 + 0i) is (0 + i)
let sqrt = c.sqrt();
assert_eq!(sqrt, (0, 1));

pub fn sqrt_mut(&mut self)[src]

Computes the square root, rounding to the nearest.

Examples

use rug::Complex;
let mut c = Complex::with_val(53, (-1, 0));
// square root of (−1 + 0i) is (0 + i)
c.sqrt_mut();
assert_eq!(c, (0, 1));

pub fn sqrt_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)[src]

Computes the square root, applying the specified rounding method.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
let mut c = Complex::with_val(4, (2, 2.25));
// Square root of (2 + 2.25i) is (1.5828 + 0.7108i).
// Nearest with 4 bits of precision: (1.625 + 0.6875i)
let dir = c.sqrt_round((Round::Nearest, Round::Nearest));
assert_eq!(c, (1.625, 0.6875));
assert_eq!(dir, (Ordering::Greater, Ordering::Less));

pub fn sqrt_ref(&self) -> SqrtIncomplete[src]

Computes the square root.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
let c = Complex::with_val(53, (2, 2.25));
// Square root of (2 + 2.25i) is (1.5828 + 0.7108i).
let r = c.sqrt_ref();
// Nearest with 4 bits of precision: (1.625 + 0.6875i)
let nearest = (Round::Nearest, Round::Nearest);
let (sqrt, dir) = Complex::with_val_round(4, r, nearest);
assert_eq!(sqrt, (1.625, 0.6875));
assert_eq!(dir, (Ordering::Greater, Ordering::Less));

pub fn conj(self) -> Self[src]

Computes the complex conjugate.

Examples

use rug::Complex;
let c = Complex::with_val(53, (1.5, 2.5));
let conj = c.conj();
assert_eq!(conj, (1.5, -2.5));

pub fn conj_mut(&mut self)[src]

Computes the complex conjugate.

Examples

use rug::Complex;
let mut c = Complex::with_val(53, (1.5, 2.5));
c.conj_mut();
assert_eq!(c, (1.5, -2.5));

pub fn conj_ref(&self) -> ConjIncomplete[src]

Computes the complex conjugate.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use rug::Complex;
let c = Complex::with_val(53, (1.5, 2.5));
let conj = Complex::with_val(53, c.conj_ref());
assert_eq!(conj, (1.5, -2.5));

pub fn abs(self) -> Complex[src]

Computes the absolute value, rounding to the nearest.

The real part is set to the absolute value and the imaginary part is set to zero.

Examples

use rug::Complex;
let c = Complex::with_val(53, (30, 40));
let abs = c.abs();
assert_eq!(abs, 50);

pub fn abs_mut(&mut self)[src]

Computes the absolute value, rounding to the nearest.

The real part is set to the absolute value and the imaginary part is set to zero.

Examples

use rug::Complex;
let mut c = Complex::with_val(53, (30, 40));
c.abs_mut();
assert_eq!(c, (50, 0));

pub fn abs_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)[src]

Computes the absolute value, applying the specified rounding method.

The real part is set to the absolute value and the imaginary part is set to zero.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
// Use only 4 bits of precision to show rounding.
let mut c = Complex::with_val(4, (30, 40));
// 50 rounded up using 4 bits is 52
let dir = c.abs_round((Round::Up, Round::Up));
assert_eq!(c, (52, 0));
assert_eq!(dir, (Ordering::Greater, Ordering::Equal));

pub fn abs_ref(&self) -> AbsIncomplete[src]

Computes the absolute value.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use rug::{Complex, Float};
let c = Complex::with_val(53, (30, 40));
let f = Float::with_val(53, c.abs_ref());
assert_eq!(f, 50);

pub fn arg(self) -> Complex[src]

Computes the argument, rounding to the nearest.

Examples

use rug::Complex;
let c = Complex::with_val(53, (4, 3));
let f = c.arg();
assert_eq!(f, 0.75_f64.atan());

Special values are handled like atan2 in IEEE 754-2008.

use rug::Complex;
let c = Complex::with_val(53, (40, 30));
let arg = c.arg();
assert_eq!(arg, (0.75_f64.atan(), 0));

pub fn arg_mut(&mut self)[src]

Computes the argument, rounding to the nearest.

The real part is set to the argument and the imaginary part is set to zero.

Examples

use rug::Complex;
let mut c = Complex::with_val(53, (40, 30));
c.arg_mut();
assert_eq!(c, (0.75_f64.atan(), 0));

pub fn arg_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)[src]

Computes the argument, applying the specified rounding method.

The real part is set to the argument and the imaginary part is set to zero.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
// use only 4 bits of precision
let mut c = Complex::with_val(4, (3, 4));
// arg(3 + 4i) = 0.9316.
// 0.9316 rounded to the nearest is 0.9375.
let dir = c.arg_round((Round::Nearest, Round::Nearest));
assert_eq!(c, (0.9375, 0));
assert_eq!(dir, (Ordering::Greater, Ordering::Equal));

pub fn arg_ref(&self) -> ArgIncomplete[src]

Computes the argument.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use core::f64;
use rug::{Assign, Complex, Float};
// f has precision 53, just like f64, so PI constants match.
let mut arg = Float::new(53);
let c_pos = Complex::with_val(53, 1);
arg.assign(c_pos.arg_ref());
assert!(arg.is_zero());
let c_neg = Complex::with_val(53, -1.3);
arg.assign(c_neg.arg_ref());
assert_eq!(arg, f64::consts::PI);
let c_pi_4 = Complex::with_val(53, (1.333, 1.333));
arg.assign(c_pi_4.arg_ref());
assert_eq!(arg, f64::consts::FRAC_PI_4);

pub fn mul_i(self, negative: bool) -> Self[src]

Multiplies the complex number by ±i, rounding to the nearest.

Examples

use rug::Complex;
let c = Complex::with_val(53, (13, 24));
let rot1 = c.mul_i(false);
assert_eq!(rot1, (-24, 13));
let rot2 = rot1.mul_i(false);
assert_eq!(rot2, (-13, -24));
let rot2_less1 = rot2.mul_i(true);
assert_eq!(rot2_less1, (-24, 13));

pub fn mul_i_mut(&mut self, negative: bool)[src]

Multiplies the complex number by ±i, rounding to the nearest.

Examples

use rug::Complex;
let mut c = Complex::with_val(53, (13, 24));
c.mul_i_mut(false);
assert_eq!(c, (-24, 13));
c.mul_i_mut(false);
assert_eq!(c, (-13, -24));
c.mul_i_mut(true);
assert_eq!(c, (-24, 13));

pub fn mul_i_round(
    &mut self,
    negative: bool,
    round: (Round, Round)
) -> (Ordering, Ordering)
[src]

Multiplies the complex number by ±i, applying the specified rounding method.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
// only 4 bits of precision for imaginary part
let mut c = Complex::with_val((53, 4), (127, 15));
assert_eq!(c, (127, 15));
let dir = c.mul_i_round(false, (Round::Down, Round::Down));
assert_eq!(c, (-15, 120));
assert_eq!(dir, (Ordering::Equal, Ordering::Less));
let dir = c.mul_i_round(true, (Round::Down, Round::Down));
assert_eq!(c, (120, 15));
assert_eq!(dir, (Ordering::Equal, Ordering::Equal));

pub fn mul_i_ref(&self, negative: bool) -> MulIIncomplete[src]

Multiplies the complex number by ±i.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use rug::Complex;
let c = Complex::with_val(53, (13, 24));
let rotated = Complex::with_val(53, c.mul_i_ref(false));
assert_eq!(rotated, (-24, 13));

pub fn recip(self) -> Self[src]

Computes the reciprocal, rounding to the nearest.

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
// 1/(1 + i) = (0.5 − 0.5i)
let recip = c.recip();
assert_eq!(recip, (0.5, -0.5));

pub fn recip_mut(&mut self)[src]

Computes the reciprocal, rounding to the nearest.

Examples

use rug::Complex;
let mut c = Complex::with_val(53, (1, 1));
// 1/(1 + i) = (0.5 − 0.5i)
c.recip_mut();
assert_eq!(c, (0.5, -0.5));

pub fn recip_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)[src]

Computes the reciprocal, applying the specified rounding method.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
let mut c = Complex::with_val(4, (1, 2));
// 1/(1 + 2i) = (0.2 − 0.4i), binary (0.00110011..., −0.01100110...)
// 4 bits of precision: (0.001101, −0.01101) = (13/64, −13/32)
let dir = c.recip_round((Round::Nearest, Round::Nearest));
assert_eq!(c, (13.0/64.0, -13.0/32.0));
assert_eq!(dir, (Ordering::Greater, Ordering::Less));

pub fn recip_ref(&self) -> RecipIncomplete[src]

Computes the reciprocal.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
// 1/(1 + i) = (0.5 − 0.5i)
let recip = Complex::with_val(53, c.recip_ref());
assert_eq!(recip, (0.5, -0.5));

pub fn norm(self) -> Complex[src]

Computes the norm, that is the square of the absolute value, rounding it to the nearest.

Examples

use rug::Complex;
let c = Complex::with_val(53, (3, 4));
let norm = c.norm();
assert_eq!(norm, 25);

pub fn norm_mut(&mut self)[src]

Computes the norm, that is the square of the absolute value, rounding to the nearest.

The real part is set to the norm and the imaginary part is set to zero.

Examples

use rug::Complex;
let mut c = Complex::with_val(53, (3, 4));
c.norm_mut();
assert_eq!(c, (25, 0));

pub fn norm_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)[src]

Computes the norm, that is the square of the absolute value, applying the specified rounding method.

The real part is set to the norm and the imaginary part is set to zero.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
// use only 4 bits of precision
let mut c = Complex::with_val(4, (3, 4));
// 25 rounded up using 4 bits is 26
let dir = c.norm_round((Round::Up, Round::Up));
assert_eq!(c, (26, 0));
assert_eq!(dir, (Ordering::Greater, Ordering::Equal));

pub fn norm_ref(&self) -> NormIncomplete[src]

Computes the norm, that is the square of the absolute value.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use rug::{Complex, Float};
let c = Complex::with_val(53, (3, 4));
let f = Float::with_val(53, c.norm_ref());
assert_eq!(f, 25);

pub fn ln(self) -> Self[src]

Computes the natural logarithm, rounding to the nearest.

Examples

use rug::Complex;
let c = Complex::with_val(53, (1.5, -0.5));
let ln = c.ln();
let expected = Complex::with_val(53, (0.4581, -0.3218));
assert!(*(ln - expected).abs().real() < 0.0001);

pub fn ln_mut(&mut self)[src]

Computes the natural logarithm, rounding to the nearest.

Examples

use rug::Complex;
let mut c = Complex::with_val(53, (1.5, -0.5));
c.ln_mut();
let expected = Complex::with_val(53, (0.4581, -0.3218));
assert!(*(c - expected).abs().real() < 0.0001);

pub fn ln_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)[src]

Computes the natural logarithm, applying the specified rounding method.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
// Use only 4 bits of precision to show rounding.
let mut c = Complex::with_val(4, (1.5, -0.5));
// ln(1.5 − 0.5i) = (0.4581 − 0.3218i)
// using 4 significant bits: (0.46875 − 0.3125i)
let dir = c.ln_round((Round::Nearest, Round::Nearest));
assert_eq!(c, (0.46875, -0.3125));
assert_eq!(dir, (Ordering::Greater, Ordering::Greater));

pub fn ln_ref(&self) -> LnIncomplete[src]

Computes the natural logarithm;

The following are implemented with the returned incomplete-computation value as Src:

Examples

use rug::Complex;
let c = Complex::with_val(53, (1.5, -0.5));
let ln = Complex::with_val(53, c.ln_ref());
let expected = Complex::with_val(53, (0.4581, -0.3218));
assert!(*(ln - expected).abs().real() < 0.0001);

pub fn log10(self) -> Self[src]

Computes the logarithm to base 10, rounding to the nearest.

Examples

use rug::Complex;
let c = Complex::with_val(53, (1.5, -0.5));
let log10 = c.log10();
let expected = Complex::with_val(53, (0.1990, -0.1397));
assert!(*(log10 - expected).abs().real() < 0.0001);

pub fn log10_mut(&mut self)[src]

Computes the logarithm to base 10, rounding to the nearest.

Examples

use rug::Complex;
let mut c = Complex::with_val(53, (1.5, -0.5));
c.log10_mut();
let expected = Complex::with_val(53, (0.1990, -0.1397));
assert!(*(c - expected).abs().real() < 0.0001);

pub fn log10_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)[src]

Computes the logarithm to base 10, applying the specified rounding method.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
// Use only 4 bits of precision to show rounding.
let mut c = Complex::with_val(4, (1.5, -0.5));
// log10(1.5 − 0.5i) = (0.1990 − 0.1397i)
// using 4 significant bits: (0.203125 − 0.140625i)
let dir = c.log10_round((Round::Nearest, Round::Nearest));
assert_eq!(c, (0.203125, -0.140625));
assert_eq!(dir, (Ordering::Greater, Ordering::Less));

pub fn log10_ref(&self) -> Log10Incomplete[src]

Computes the logarithm to base 10.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use rug::Complex;
let c = Complex::with_val(53, (1.5, -0.5));
let log10 = Complex::with_val(53, c.log10_ref());
let expected = Complex::with_val(53, (0.1990, -0.1397));
assert!(*(log10 - expected).abs().real() < 0.0001);

pub fn root_of_unity(n: u32, k: u32) -> RootOfUnityIncomplete[src]

Generates a root of unity, rounding to the nearest.

The generated number is the nth root of unity raised to the power k, that is its magnitude is 1 and its argument is 2πk/n.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use rug::Complex;
let r = Complex::root_of_unity(3, 2);
let c = Complex::with_val(53, r);
let expected = Complex::with_val(53, (-0.5, -0.8660));
assert!(*(c - expected).abs().real() < 0.0001);

pub fn exp(self) -> Self[src]

Computes the exponential, rounding to the nearest.

Examples

use rug::Complex;
let c = Complex::with_val(53, (0.5, -0.75));
let exp = c.exp();
let expected = Complex::with_val(53, (1.2064, -1.1238));
assert!(*(exp - expected).abs().real() < 0.0001);

pub fn exp_mut(&mut self)[src]

Computes the exponential, rounding to the nearest.

Examples

use rug::Complex;
let mut c = Complex::with_val(53, (0.5, -0.75));
c.exp_mut();
let expected = Complex::with_val(53, (1.2064, -1.1238));
assert!(*(c - expected).abs().real() < 0.0001);

pub fn exp_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)[src]

Computes the exponential, applying the specified rounding method.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
// Use only 4 bits of precision to show rounding.
let mut c = Complex::with_val(4, (0.5, -0.75));
// exp(0.5 − 0.75i) = (1.2064 − 1.1238i)
// using 4 significant bits: (1.25 − 1.125)
let dir = c.exp_round((Round::Nearest, Round::Nearest));
assert_eq!(c, (1.25, -1.125));
assert_eq!(dir, (Ordering::Greater, Ordering::Less));

pub fn exp_ref(&self) -> ExpIncomplete[src]

Computes the exponential.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use rug::Complex;
let c = Complex::with_val(53, (0.5, -0.75));
let exp = Complex::with_val(53, c.exp_ref());
let expected = Complex::with_val(53, (1.2064, -1.1238));
assert!(*(exp - expected).abs().real() < 0.0001);

pub fn sin(self) -> Self[src]

Computes the sine, rounding to the nearest.

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
let sin = c.sin();
let expected = Complex::with_val(53, (1.2985, 0.6350));
assert!(*(sin - expected).abs().real() < 0.0001);

pub fn sin_mut(&mut self)[src]

Computes the sine, rounding to the nearest.

Examples

use rug::Complex;
let mut c = Complex::with_val(53, (1, 1));
c.sin_mut();
let expected = Complex::with_val(53, (1.2985, 0.6350));
assert!(*(c - expected).abs().real() < 0.0001);

pub fn sin_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)[src]

Computes the sine, applying the specified rounding method.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
// Use only 4 bits of precision to show rounding.
let mut c = Complex::with_val(4, (1, 1));
// sin(1 + i) = (1.2985 + 0.6350i)
// using 4 significant bits: (1.25 + 0.625i)
let dir = c.sin_round((Round::Nearest, Round::Nearest));
assert_eq!(c, (1.25, 0.625));
assert_eq!(dir, (Ordering::Less, Ordering::Less));

pub fn sin_ref(&self) -> SinIncomplete[src]

Computes the sine.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
let sin = Complex::with_val(53, c.sin_ref());
let expected = Complex::with_val(53, (1.2985, 0.6350));
assert!(*(sin - expected).abs().real() < 0.0001);

pub fn cos(self) -> Self[src]

Computes the cosine, rounding to the nearest.

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
let cos = c.cos();
let expected = Complex::with_val(53, (0.8337, -0.9889));
assert!(*(cos - expected).abs().real() < 0.0001);

pub fn cos_mut(&mut self)[src]

Computes the cosine, rounding to the nearest.

Examples

use rug::Complex;
let mut c = Complex::with_val(53, (1, 1));
c.cos_mut();
let expected = Complex::with_val(53, (0.8337, -0.9889));
assert!(*(c - expected).abs().real() < 0.0001);

pub fn cos_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)[src]

Computes the cosine, applying the specified rounding method.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
// Use only 4 bits of precision to show rounding.
let mut c = Complex::with_val(4, (1, 1));
// cos(1 + i) = (0.8337 − 0.9889i)
// using 4 significant bits: (0.8125 − i)
let dir = c.cos_round((Round::Nearest, Round::Nearest));
assert_eq!(c, (0.8125, -1));
assert_eq!(dir, (Ordering::Less, Ordering::Less));

pub fn cos_ref(&self) -> CosIncomplete[src]

Computes the cosine.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
let cos = Complex::with_val(53, c.cos_ref());
let expected = Complex::with_val(53, (0.8337, -0.9889));
assert!(*(cos - expected).abs().real() < 0.0001);

pub fn sin_cos(self, cos: Self) -> (Self, Self)[src]

Computes the sine and cosine of self, rounding to the nearest.

The sine keeps the precision of self while the cosine keeps the precision of cos.

The initial value of cos is ignored.

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
let (sin, cos) = c.sin_cos(Complex::new(53));
let expected_sin = Complex::with_val(53, (1.2985, 0.6350));
let expected_cos = Complex::with_val(53, (0.8337, -0.9889));
assert!(*(sin - expected_sin).abs().real() < 0.0001);
assert!(*(cos - expected_cos).abs().real() < 0.0001);

pub fn sin_cos_mut(&mut self, cos: &mut Self)[src]

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.

The initial value of cos is ignored.

Examples

use rug::Complex;
let mut sin = Complex::with_val(53, (1, 1));
let mut cos = Complex::new(53);
sin.sin_cos_mut(&mut cos);
let expected_sin = Complex::with_val(53, (1.2985, 0.6350));
let expected_cos = Complex::with_val(53, (0.8337, -0.9889));
assert!(*(sin - expected_sin).abs().real() < 0.0001);
assert!(*(cos - expected_cos).abs().real() < 0.0001);

pub fn sin_cos_round(
    &mut self,
    cos: &mut Self,
    round: (Round, Round)
) -> ((Ordering, Ordering), (Ordering, Ordering))
[src]

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.

The initial value of cos is ignored.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
// Use only 4 bits of precision to show rounding.
let mut sin = Complex::with_val(4, (1, 1));
let mut cos = Complex::new(4);
// sin(1 + i) = (1.2985 + 0.6350)
// using 4 significant bits: (1.25 + 0.625i)
// cos(1 + i) = (0.8337 − 0.9889i)
// using 4 significant bits: (0.8125 − i)
let (dir_sin, dir_cos) =
    sin.sin_cos_round(&mut cos, (Round::Nearest, Round::Nearest));
assert_eq!(sin, (1.25, 0.625));
assert_eq!(dir_sin, (Ordering::Less, Ordering::Less));
assert_eq!(cos, (0.8125, -1));
assert_eq!(dir_cos, (Ordering::Less, Ordering::Less));

pub fn sin_cos_ref(&self) -> SinCosIncomplete[src]

Computes the sine and cosine.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use core::cmp::Ordering;
use rug::{float::Round, ops::AssignRound, Assign, Complex};
let phase = Complex::with_val(53, (1, 1));

let (mut sin, mut cos) = (Complex::new(53), Complex::new(53));
let sin_cos = phase.sin_cos_ref();
(&mut sin, &mut cos).assign(sin_cos);
let expected_sin = Complex::with_val(53, (1.2985, 0.6350));
let expected_cos = Complex::with_val(53, (0.8337, -0.9889));
assert!(*(sin - expected_sin).abs().real() < 0.0001);
assert!(*(cos - expected_cos).abs().real() < 0.0001);

// using 4 significant bits: sin = (1.25 + 0.625i)
// using 4 significant bits: cos = (0.8125 − i)
let (mut sin_4, mut cos_4) = (Complex::new(4), Complex::new(4));
let sin_cos = phase.sin_cos_ref();
let (dir_sin, dir_cos) = (&mut sin_4, &mut cos_4)
    .assign_round(sin_cos, (Round::Nearest, Round::Nearest));
assert_eq!(sin_4, (1.25, 0.625));
assert_eq!(dir_sin, (Ordering::Less, Ordering::Less));
assert_eq!(cos_4, (0.8125, -1));
assert_eq!(dir_cos, (Ordering::Less, Ordering::Less));

pub fn tan(self) -> Self[src]

Computes the tangent, rounding to the nearest.

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
let tan = c.tan();
let expected = Complex::with_val(53, (0.2718, 1.0839));
assert!(*(tan - expected).abs().real() < 0.0001);

pub fn tan_mut(&mut self)[src]

Computes the tangent, rounding to the nearest.

Examples

use rug::Complex;
let mut c = Complex::with_val(53, (1, 1));
c.tan_mut();
let expected = Complex::with_val(53, (0.2718, 1.0839));
assert!(*(c - expected).abs().real() < 0.0001);

pub fn tan_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)[src]

Computes the tangent, applying the specified rounding method.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
// Use only 4 bits of precision to show rounding.
let mut c = Complex::with_val(4, (1, 1));
// tan(1 + i) = (0.2718 + 1.0839)
// using 4 significant bits: (0.28125 + 1.125i)
let dir = c.tan_round((Round::Nearest, Round::Nearest));
assert_eq!(c, (0.28125, 1.125));
assert_eq!(dir, (Ordering::Greater, Ordering::Greater));

pub fn tan_ref(&self) -> TanIncomplete[src]

Computes the tangent.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
let tan = Complex::with_val(53, c.tan_ref());
let expected = Complex::with_val(53, (0.2718, 1.0839));
assert!(*(tan - expected).abs().real() < 0.0001);

pub fn sinh(self) -> Self[src]

Computes the hyperbolic sine, rounding to the nearest.

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
let sinh = c.sinh();
let expected = Complex::with_val(53, (0.6350, 1.2985));
assert!(*(sinh - expected).abs().real() < 0.0001);

pub fn sinh_mut(&mut self)[src]

Computes the hyperbolic sine, rounding to the nearest.

Examples

use rug::Complex;
let mut c = Complex::with_val(53, (1, 1));
c.sinh_mut();
let expected = Complex::with_val(53, (0.6350, 1.2985));
assert!(*(c - expected).abs().real() < 0.0001);

pub fn sinh_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)[src]

Computes the hyperbolic sine, applying the specified rounding method.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
// Use only 4 bits of precision to show rounding.
let mut c = Complex::with_val(4, (1, 1));
// sinh(1 + i) = (0.6350 + 1.2985i)
// using 4 significant bits: (0.625 + 1.25i)
let dir = c.sinh_round((Round::Nearest, Round::Nearest));
assert_eq!(c, (0.625, 1.25));
assert_eq!(dir, (Ordering::Less, Ordering::Less));

pub fn sinh_ref(&self) -> SinhIncomplete[src]

Computes the hyperbolic sine.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
let sinh = Complex::with_val(53, c.sinh_ref());
let expected = Complex::with_val(53, (0.6350, 1.2985));
assert!(*(sinh - expected).abs().real() < 0.0001);

pub fn cosh(self) -> Self[src]

Computes the hyperbolic cosine, rounding to the nearest.

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
let cosh = c.cosh();
let expected = Complex::with_val(53, (0.8337, 0.9889));
assert!(*(cosh - expected).abs().real() < 0.0001);

pub fn cosh_mut(&mut self)[src]

Computes the hyperbolic cosine, rounding to the nearest.

Examples

use rug::Complex;
let mut c = Complex::with_val(53, (1, 1));
c.cosh_mut();
let expected = Complex::with_val(53, (0.8337, 0.9889));
assert!(*(c - expected).abs().real() < 0.0001);

pub fn cosh_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)[src]

Computes the hyperbolic cosine, applying the specified rounding method.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
// Use only 4 bits of precision to show rounding.
let mut c = Complex::with_val(4, (1, 1));
// cosh(1 + i) = (0.8337 + 0.9889)
// using 4 significant bits: (0.8125 + i)
let dir = c.cosh_round((Round::Nearest, Round::Nearest));
assert_eq!(c, (0.8125, 1));
assert_eq!(dir, (Ordering::Less, Ordering::Greater));

pub fn cosh_ref(&self) -> CoshIncomplete[src]

Computes the hyperbolic cosine.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
let cosh = Complex::with_val(53, c.cosh_ref());
let expected = Complex::with_val(53, (0.8337, 0.9889));
assert!(*(cosh - expected).abs().real() < 0.0001);

pub fn tanh(self) -> Self[src]

Computes the hyperbolic tangent, rounding to the nearest.

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
let tanh = c.tanh();
let expected = Complex::with_val(53, (1.0839, 0.2718));
assert!(*(tanh - expected).abs().real() < 0.0001);

pub fn tanh_mut(&mut self)[src]

Computes the hyperbolic tangent, rounding to the nearest.

Examples

use rug::Complex;
let mut c = Complex::with_val(53, (1, 1));
c.tanh_mut();
let expected = Complex::with_val(53, (1.0839, 0.2718));
assert!(*(c - expected).abs().real() < 0.0001);

pub fn tanh_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)[src]

Computes the hyperbolic tangent, applying the specified rounding method.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
// Use only 4 bits of precision to show rounding.
let mut c = Complex::with_val(4, (1, 1));
// tanh(1 + i) = (1.0839 + 0.2718i)
// using 4 significant bits: (1.125 + 0.28125i)
let dir = c.tanh_round((Round::Nearest, Round::Nearest));
assert_eq!(c, (1.125, 0.28125));
assert_eq!(dir, (Ordering::Greater, Ordering::Greater));

pub fn tanh_ref(&self) -> TanhIncomplete[src]

Computes the hyperbolic tangent.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
let tanh = Complex::with_val(53, c.tanh_ref());
let expected = Complex::with_val(53, (1.0839, 0.2718));
assert!(*(tanh - expected).abs().real() < 0.0001);

pub fn asin(self) -> Self[src]

Computes the inverse sine, rounding to the nearest.

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
let asin = c.asin();
let expected = Complex::with_val(53, (0.6662, 1.0613));
assert!(*(asin - expected).abs().real() < 0.0001);

pub fn asin_mut(&mut self)[src]

Computes the inverse sine, rounding to the nearest.

Examples

use rug::Complex;
let mut c = Complex::with_val(53, (1, 1));
c.asin_mut();
let expected = Complex::with_val(53, (0.6662, 1.0613));
assert!(*(c - expected).abs().real() < 0.0001);

pub fn asin_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)[src]

Computes the inverse sine, applying the specified rounding method.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
// Use only 4 bits of precision to show rounding.
let mut c = Complex::with_val(4, (1, 1));
// asin(1 + i) = (0.6662 + 1.0613i)
// using 4 significant bits: (0.6875 + i)
let dir = c.asin_round((Round::Nearest, Round::Nearest));
assert_eq!(c, (0.6875, 1));
assert_eq!(dir, (Ordering::Greater, Ordering::Less));

pub fn asin_ref(&self) -> AsinIncomplete[src]

Computes the inverse sine.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
let asin = Complex::with_val(53, c.asin_ref());
let expected = Complex::with_val(53, (0.6662, 1.0613));
assert!(*(asin - expected).abs().real() < 0.0001);

pub fn acos(self) -> Self[src]

Computes the inverse cosine, rounding to the nearest.

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
let acos = c.acos();
let expected = Complex::with_val(53, (0.9046, -1.0613));
assert!(*(acos - expected).abs().real() < 0.0001);

pub fn acos_mut(&mut self)[src]

Computes the inverse cosine, rounding to the nearest.

Examples

use rug::Complex;
let mut c = Complex::with_val(53, (1, 1));
c.acos_mut();
let expected = Complex::with_val(53, (0.9046, -1.0613));
assert!(*(c - expected).abs().real() < 0.0001);

pub fn acos_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)[src]

Computes the inverse cosine, applying the specified rounding method.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
// Use only 4 bits of precision to show rounding.
let mut c = Complex::with_val(4, (1, 1));
// acos(1 + i) = (0.9046 − 1.0613i)
// using 4 significant bits: (0.875 − i)
let dir = c.acos_round((Round::Nearest, Round::Nearest));
assert_eq!(c, (0.875, -1));
assert_eq!(dir, (Ordering::Less, Ordering::Greater));

pub fn acos_ref(&self) -> AcosIncomplete[src]

Computes the inverse cosine.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
let acos = Complex::with_val(53, c.acos_ref());
let expected = Complex::with_val(53, (0.9046, -1.0613));
assert!(*(acos - expected).abs().real() < 0.0001);

pub fn atan(self) -> Self[src]

Computes the inverse tangent, rounding to the nearest.

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
let atan = c.atan();
let expected = Complex::with_val(53, (1.0172, 0.4024));
assert!(*(atan - expected).abs().real() < 0.0001);

pub fn atan_mut(&mut self)[src]

Computes the inverse tangent, rounding to the nearest.

Examples

use rug::Complex;
let mut c = Complex::with_val(53, (1, 1));
c.atan_mut();
let expected = Complex::with_val(53, (1.0172, 0.4024));
assert!(*(c - expected).abs().real() < 0.0001);

pub fn atan_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)[src]

Computes the inverse tangent, applying the specified rounding method.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
// Use only 4 bits of precision to show rounding.
let mut c = Complex::with_val(4, (1, 1));
// atan(1 + i) = (1.0172 + 0.4024i)
// using 4 significant bits: (1 + 0.40625i)
let dir = c.atan_round((Round::Nearest, Round::Nearest));
assert_eq!(c, (1, 0.40625));
assert_eq!(dir, (Ordering::Less, Ordering::Greater));

pub fn atan_ref(&self) -> AtanIncomplete[src]

Computes the inverse tangent.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
let atan = Complex::with_val(53, c.atan_ref());
let expected = Complex::with_val(53, (1.0172, 0.4024));
assert!(*(atan - expected).abs().real() < 0.0001);

pub fn asinh(self) -> Self[src]

Computes the inverse hyperbolic sine, rounding to the nearest.

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
let asinh = c.asinh();
let expected = Complex::with_val(53, (1.0613, 0.6662));
assert!(*(asinh - expected).abs().real() < 0.0001);

pub fn asinh_mut(&mut self)[src]

Computes the inverse hyperbolic sine, rounding to the nearest.

Examples

use rug::Complex;
let mut c = Complex::with_val(53, (1, 1));
c.asinh_mut();
let expected = Complex::with_val(53, (1.0613, 0.6662));
assert!(*(c - expected).abs().real() < 0.0001);

pub fn asinh_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)[src]

Computes the inverse hyperbolic sine, applying the specified rounding method.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
// Use only 4 bits of precision to show rounding.
let mut c = Complex::with_val(4, (1, 1));
// asinh(1 + i) = (1.0613 + 0.6662i)
// using 4 significant bits: (1 + 0.6875i)
let dir = c.asinh_round((Round::Nearest, Round::Nearest));
assert_eq!(c, (1, 0.6875));
assert_eq!(dir, (Ordering::Less, Ordering::Greater));

pub fn asinh_ref(&self) -> AsinhIncomplete[src]

Computes the inverse hyperboic sine.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
let asinh = Complex::with_val(53, c.asinh_ref());
let expected = Complex::with_val(53, (1.0613, 0.6662));
assert!(*(asinh - expected).abs().real() < 0.0001);

pub fn acosh(self) -> Self[src]

Computes the inverse hyperbolic cosine, rounding to the nearest.

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
let acosh = c.acosh();
let expected = Complex::with_val(53, (1.0613, 0.9046));
assert!(*(acosh - expected).abs().real() < 0.0001);

pub fn acosh_mut(&mut self)[src]

Computes the inverse hyperbolic cosine, rounding to the nearest.

Examples

use rug::Complex;
let mut c = Complex::with_val(53, (1, 1));
c.acosh_mut();
let expected = Complex::with_val(53, (1.0613, 0.9046));
assert!(*(c - expected).abs().real() < 0.0001);

pub fn acosh_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)[src]

Computes the inverse hyperbolic cosine, applying the specified rounding method.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
// Use only 4 bits of precision to show rounding.
let mut c = Complex::with_val(4, (1, 1));
// acosh(1 + i) = (1.0613 + 0.9046i)
// using 4 significant bits: (1 + 0.875i)
let dir = c.acosh_round((Round::Nearest, Round::Nearest));
assert_eq!(c, (1, 0.875));
assert_eq!(dir, (Ordering::Less, Ordering::Less));

pub fn acosh_ref(&self) -> AcoshIncomplete[src]

Computes the inverse hyperbolic cosine.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
let acosh = Complex::with_val(53, c.acosh_ref());
let expected = Complex::with_val(53, (1.0613, 0.9046));
assert!(*(acosh - expected).abs().real() < 0.0001);

pub fn atanh(self) -> Self[src]

Computes the inverse hyperbolic tangent, rounding to the nearest.

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
let atanh = c.atanh();
let expected = Complex::with_val(53, (0.4024, 1.0172));
assert!(*(atanh - expected).abs().real() < 0.0001);

pub fn atanh_mut(&mut self)[src]

Computes the inverse hyperbolic tangent, rounding to the nearest.

Examples

use rug::Complex;
let mut c = Complex::with_val(53, (1, 1));
c.atanh_mut();
let expected = Complex::with_val(53, (0.4024, 1.0172));
assert!(*(c - expected).abs().real() < 0.0001);

pub fn atanh_round(&mut self, round: (Round, Round)) -> (Ordering, Ordering)[src]

Computes the inverse hyperbolic tangent, applying the specified rounding method.

Examples

use core::cmp::Ordering;
use rug::{float::Round, Complex};
// Use only 4 bits of precision to show rounding.
let mut c = Complex::with_val(4, (1, 1));
// atanh(1 + i) = (0.4024 + 1.0172i)
// using 4 significant bits: (0.40625 + i)
let dir = c.atanh_round((Round::Nearest, Round::Nearest));
assert_eq!(c, (0.40625, 1));
assert_eq!(dir, (Ordering::Greater, Ordering::Less));

pub fn atanh_ref(&self) -> AtanhIncomplete[src]

Computes the inverse hyperbolic tangent.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use rug::Complex;
let c = Complex::with_val(53, (1, 1));
let atanh = Complex::with_val(53, c.atanh_ref());
let expected = Complex::with_val(53, (0.4024, 1.0172));
assert!(*(atanh - expected).abs().real() < 0.0001);

pub fn random_bits(rng: &mut dyn MutRandState) -> RandomBitsIncomplete[src]

Generates a random complex number with both the real and imaginary parts in the range 0 ≤ x < 1.

This is equivalent to generating a random integer in the range 0 ≤ x < 2p for each part, where 2p is two raised to the power of the precision, and then dividing the integer by 2p. The smallest non-zero result will thus be 2p, and will only have one bit set. In the smaller possible results, many bits will be zero, and not all the precision will be used.

There is a corner case where the generated random number part is converted to NaN: if the precision is very large, the generated random number could have an exponent less than the allowed minimum exponent, and NaN is used to indicate this. For this to occur in practice, the minimum exponent has to be set to have a very small magnitude using the low-level MPFR interface, or the random number generator has to be designed specifically to trigger this case.

Assign<Src> for Complex is implemented with the returned incomplete-computation value as Src.

Examples

use rug::{rand::RandState, Assign, Complex};
let mut rand = RandState::new();
let mut c = Complex::new(2);
c.assign(Complex::random_bits(&mut rand));
let (re, im) = c.into_real_imag();
assert!(re == 0.0 || re == 0.25 || re == 0.5 || re == 0.75);
assert!(im == 0.0 || im == 0.25 || im == 0.5 || im == 0.75);
println!("0.0 ≤ {} < 1.0", re);
println!("0.0 ≤ {} < 1.0", im);

pub fn random_cont(rng: &mut dyn MutRandState) -> RandomContIncomplete[src]

Generates a random complex number with both the real and imaginary parts in the continous range 0 ≤ x < 1, and rounds to the nearest.

The result parts can be rounded up to be equal to one. Unlike the assign_random_bits method which generates a discrete random number at intervals depending on the precision, this method is equivalent to generating a continuous random number with infinite precision and then rounding the result. This means that even the smaller numbers will be using all the available precision bits, and rounding is performed in all cases, not in some corner case.

Rounding directions for generated random numbers cannot be Ordering::Equal, as the random numbers generated can be considered to have infinite precision before rounding.

The following are implemented with the returned incomplete-computation value as Src:

Examples

use rug::{rand::RandState, Complex};
let mut rand = RandState::new();
let c = Complex::with_val(2, Complex::random_cont(&mut rand));
let (re, im) = c.into_real_imag();
// The significand is either 0b10 or 0b11
assert!(
    re == 1.0
        || re == 0.75
        || re == 0.5
        || re == 0.375
        || re == 0.25
        || re <= 0.1875
);
assert!(
    im == 1.0
        || im == 0.75
        || im == 0.5
        || im == 0.375
        || im == 0.25
        || im <= 0.1875
);

Trait Implementations

impl<'_> Add<&'_ Complex> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'_> Add<&'_ Float> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'_> Add<&'_ Integer> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'_> Add<&'_ Rational> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'_> Add<&'_ f32> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'b, '_> Add<&'_ f32> for &'b Complex[src]

type Output = AddF32Incomplete<'b>

The resulting type after applying the + operator.

impl<'_> Add<&'_ f64> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'b, '_> Add<&'_ f64> for &'b Complex[src]

type Output = AddF64Incomplete<'b>

The resulting type after applying the + operator.

impl<'_> Add<&'_ i128> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'b, '_> Add<&'_ i128> for &'b Complex[src]

type Output = AddI128Incomplete<'b>

The resulting type after applying the + operator.

impl<'_> Add<&'_ i16> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'b, '_> Add<&'_ i16> for &'b Complex[src]

type Output = AddI16Incomplete<'b>

The resulting type after applying the + operator.

impl<'_> Add<&'_ i32> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'b, '_> Add<&'_ i32> for &'b Complex[src]

type Output = AddI32Incomplete<'b>

The resulting type after applying the + operator.

impl<'_> Add<&'_ i64> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'b, '_> Add<&'_ i64> for &'b Complex[src]

type Output = AddI64Incomplete<'b>

The resulting type after applying the + operator.

impl<'_> Add<&'_ i8> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'b, '_> Add<&'_ i8> for &'b Complex[src]

type Output = AddI8Incomplete<'b>

The resulting type after applying the + operator.

impl<'_> Add<&'_ u128> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'b, '_> Add<&'_ u128> for &'b Complex[src]

type Output = AddU128Incomplete<'b>

The resulting type after applying the + operator.

impl<'_> Add<&'_ u16> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'b, '_> Add<&'_ u16> for &'b Complex[src]

type Output = AddU16Incomplete<'b>

The resulting type after applying the + operator.

impl<'_> Add<&'_ u32> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'b, '_> Add<&'_ u32> for &'b Complex[src]

type Output = AddU32Incomplete<'b>

The resulting type after applying the + operator.

impl<'_> Add<&'_ u64> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'b, '_> Add<&'_ u64> for &'b Complex[src]

type Output = AddU64Incomplete<'b>

The resulting type after applying the + operator.

impl<'_> Add<&'_ u8> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'b, '_> Add<&'_ u8> for &'b Complex[src]

type Output = AddU8Incomplete<'b>

The resulting type after applying the + operator.

impl<'a> Add<&'a Complex> for &'a Complex[src]

type Output = AddIncomplete<'a>

The resulting type after applying the + operator.

impl<'a> Add<&'a Complex> for Float[src]

type Output = AddOwnedFloatIncomplete<'a>

The resulting type after applying the + operator.

impl<'a> Add<&'a Complex> for u32[src]

type Output = AddU32Incomplete<'a>

The resulting type after applying the + operator.

impl<'a> Add<&'a Complex> for u64[src]

type Output = AddU64Incomplete<'a>

The resulting type after applying the + operator.

impl<'a> Add<&'a Complex> for u128[src]

type Output = AddU128Incomplete<'a>

The resulting type after applying the + operator.

impl<'a> Add<&'a Complex> for f32[src]

type Output = AddF32Incomplete<'a>

The resulting type after applying the + operator.

impl<'a> Add<&'a Complex> for f64[src]

type Output = AddF64Incomplete<'a>

The resulting type after applying the + operator.

impl<'a> Add<&'a Complex> for Integer[src]

type Output = AddOwnedIntegerIncomplete<'a>

The resulting type after applying the + operator.

impl<'a> Add<&'a Complex> for &'a Integer[src]

type Output = AddIntegerIncomplete<'a>

The resulting type after applying the + operator.

impl<'a> Add<&'a Complex> for Rational[src]

type Output = AddOwnedRationalIncomplete<'a>

The resulting type after applying the + operator.

impl<'a> Add<&'a Complex> for &'a Rational[src]

type Output = AddRationalIncomplete<'a>

The resulting type after applying the + operator.

impl<'a> Add<&'a Complex> for &'a Float[src]

type Output = AddFloatIncomplete<'a>

The resulting type after applying the + operator.

impl<'a> Add<&'a Complex> for i8[src]

type Output = AddI8Incomplete<'a>

The resulting type after applying the + operator.

impl<'a> Add<&'a Complex> for i16[src]

type Output = AddI16Incomplete<'a>

The resulting type after applying the + operator.

impl<'a> Add<&'a Complex> for i32[src]

type Output = AddI32Incomplete<'a>

The resulting type after applying the + operator.

impl<'a> Add<&'a Complex> for i64[src]

type Output = AddI64Incomplete<'a>

The resulting type after applying the + operator.

impl<'a> Add<&'a Complex> for i128[src]

type Output = AddI128Incomplete<'a>

The resulting type after applying the + operator.

impl<'a> Add<&'a Complex> for u8[src]

type Output = AddU8Incomplete<'a>

The resulting type after applying the + operator.

impl<'a> Add<&'a Complex> for u16[src]

type Output = AddU16Incomplete<'a>

The resulting type after applying the + operator.

impl<'a> Add<&'a Float> for &'a Complex[src]

type Output = AddFloatIncomplete<'a>

The resulting type after applying the + operator.

impl<'a> Add<&'a Integer> for &'a Complex[src]

type Output = AddIntegerIncomplete<'a>

The resulting type after applying the + operator.

impl<'a> Add<&'a Rational> for &'a Complex[src]

type Output = AddRationalIncomplete<'a>

The resulting type after applying the + operator.

impl<'b, '_> Add<&'b Complex> for &'_ i8[src]

type Output = AddI8Incomplete<'b>

The resulting type after applying the + operator.

impl<'b, '_> Add<&'b Complex> for &'_ i16[src]

type Output = AddI16Incomplete<'b>

The resulting type after applying the + operator.

impl<'b, '_> Add<&'b Complex> for &'_ f32[src]

type Output = AddF32Incomplete<'b>

The resulting type after applying the + operator.

impl<'b, '_> Add<&'b Complex> for &'_ f64[src]

type Output = AddF64Incomplete<'b>

The resulting type after applying the + operator.

impl<'b, '_> Add<&'b Complex> for &'_ i32[src]

type Output = AddI32Incomplete<'b>

The resulting type after applying the + operator.

impl<'b, '_> Add<&'b Complex> for &'_ i64[src]

type Output = AddI64Incomplete<'b>

The resulting type after applying the + operator.

impl<'b, '_> Add<&'b Complex> for &'_ i128[src]

type Output = AddI128Incomplete<'b>

The resulting type after applying the + operator.

impl<'b, '_> Add<&'b Complex> for &'_ u8[src]

type Output = AddU8Incomplete<'b>

The resulting type after applying the + operator.

impl<'b, '_> Add<&'b Complex> for &'_ u16[src]

type Output = AddU16Incomplete<'b>

The resulting type after applying the + operator.

impl<'b, '_> Add<&'b Complex> for &'_ u32[src]

type Output = AddU32Incomplete<'b>

The resulting type after applying the + operator.

impl<'b, '_> Add<&'b Complex> for &'_ u64[src]

type Output = AddU64Incomplete<'b>

The resulting type after applying the + operator.

impl<'b, '_> Add<&'b Complex> for &'_ u128[src]

type Output = AddU128Incomplete<'b>

The resulting type after applying the + operator.

impl Add<Complex> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'_> Add<Complex> for &'_ Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl Add<Complex> for i64[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'_> Add<Complex> for &'_ i64[src]

type Output = Complex

The resulting type after applying the + operator.

impl Add<Complex> for i128[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'_> Add<Complex> for &'_ i128[src]

type Output = Complex

The resulting type after applying the + operator.

impl Add<Complex> for u8[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'_> Add<Complex> for &'_ u8[src]

type Output = Complex

The resulting type after applying the + operator.

impl Add<Complex> for u16[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'_> Add<Complex> for &'_ u16[src]

type Output = Complex

The resulting type after applying the + operator.

impl Add<Complex> for u32[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'_> Add<Complex> for &'_ u32[src]

type Output = Complex

The resulting type after applying the + operator.

impl Add<Complex> for Float[src]

type Output = Complex

The resulting type after applying the + operator.

impl Add<Complex> for u64[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'_> Add<Complex> for &'_ u64[src]

type Output = Complex

The resulting type after applying the + operator.

impl Add<Complex> for u128[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'_> Add<Complex> for &'_ u128[src]

type Output = Complex

The resulting type after applying the + operator.

impl Add<Complex> for f32[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'_> Add<Complex> for &'_ f32[src]

type Output = Complex

The resulting type after applying the + operator.

impl Add<Complex> for f64[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'_> Add<Complex> for &'_ f64[src]

type Output = Complex

The resulting type after applying the + operator.

impl Add<Complex> for Integer[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'_> Add<Complex> for &'_ Integer[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'_> Add<Complex> for &'_ Float[src]

type Output = Complex

The resulting type after applying the + operator.

impl Add<Complex> for Rational[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'_> Add<Complex> for &'_ Rational[src]

type Output = Complex

The resulting type after applying the + operator.

impl Add<Complex> for i8[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'_> Add<Complex> for &'_ i8[src]

type Output = Complex

The resulting type after applying the + operator.

impl Add<Complex> for i16[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'_> Add<Complex> for &'_ i16[src]

type Output = Complex

The resulting type after applying the + operator.

impl Add<Complex> for i32[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'_> Add<Complex> for &'_ i32[src]

type Output = Complex

The resulting type after applying the + operator.

impl Add<Float> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'a> Add<Float> for &'a Complex[src]

type Output = AddOwnedFloatIncomplete<'a>

The resulting type after applying the + operator.

impl Add<Integer> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'a> Add<Integer> for &'a Complex[src]

type Output = AddOwnedIntegerIncomplete<'a>

The resulting type after applying the + operator.

impl Add<Rational> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'a> Add<Rational> for &'a Complex[src]

type Output = AddOwnedRationalIncomplete<'a>

The resulting type after applying the + operator.

impl Add<f32> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'b> Add<f32> for &'b Complex[src]

type Output = AddF32Incomplete<'b>

The resulting type after applying the + operator.

impl Add<f64> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'b> Add<f64> for &'b Complex[src]

type Output = AddF64Incomplete<'b>

The resulting type after applying the + operator.

impl Add<i128> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'b> Add<i128> for &'b Complex[src]

type Output = AddI128Incomplete<'b>

The resulting type after applying the + operator.

impl Add<i16> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'b> Add<i16> for &'b Complex[src]

type Output = AddI16Incomplete<'b>

The resulting type after applying the + operator.

impl Add<i32> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'b> Add<i32> for &'b Complex[src]

type Output = AddI32Incomplete<'b>

The resulting type after applying the + operator.

impl Add<i64> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'b> Add<i64> for &'b Complex[src]

type Output = AddI64Incomplete<'b>

The resulting type after applying the + operator.

impl Add<i8> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'b> Add<i8> for &'b Complex[src]

type Output = AddI8Incomplete<'b>

The resulting type after applying the + operator.

impl Add<u128> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'b> Add<u128> for &'b Complex[src]

type Output = AddU128Incomplete<'b>

The resulting type after applying the + operator.

impl Add<u16> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'b> Add<u16> for &'b Complex[src]

type Output = AddU16Incomplete<'b>

The resulting type after applying the + operator.

impl Add<u32> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'b> Add<u32> for &'b Complex[src]

type Output = AddU32Incomplete<'b>

The resulting type after applying the + operator.

impl Add<u64> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'b> Add<u64> for &'b Complex[src]

type Output = AddU64Incomplete<'b>

The resulting type after applying the + operator.

impl Add<u8> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl<'b> Add<u8> for &'b Complex[src]

type Output = AddU8Incomplete<'b>

The resulting type after applying the + operator.

impl<'_> AddAssign<&'_ Complex> for Complex[src]

impl<'_> AddAssign<&'_ Float> for Complex[src]

impl<'_> AddAssign<&'_ Integer> for Complex[src]

impl<'_> AddAssign<&'_ Rational> for Complex[src]

impl<'_> AddAssign<&'_ f32> for Complex[src]

impl<'_> AddAssign<&'_ f64> for Complex[src]

impl<'_> AddAssign<&'_ i128> for Complex[src]

impl<'_> AddAssign<&'_ i16> for Complex[src]

impl<'_> AddAssign<&'_ i32> for Complex[src]

impl<'_> AddAssign<&'_ i64> for Complex[src]

impl<'_> AddAssign<&'_ i8> for Complex[src]

impl<'_> AddAssign<&'_ u128> for Complex[src]

impl<'_> AddAssign<&'_ u16> for Complex[src]

impl<'_> AddAssign<&'_ u32> for Complex[src]

impl<'_> AddAssign<&'_ u64> for Complex[src]

impl<'_> AddAssign<&'_ u8> for Complex[src]

impl AddAssign<Complex> for Complex[src]

impl AddAssign<Float> for Complex[src]

impl AddAssign<Integer> for Complex[src]

impl AddAssign<Rational> for Complex[src]

impl AddAssign<f32> for Complex[src]

impl AddAssign<f64> for Complex[src]

impl AddAssign<i128> for Complex[src]

impl AddAssign<i16> for Complex[src]

impl AddAssign<i32> for Complex[src]

impl AddAssign<i64> for Complex[src]

impl AddAssign<i8> for Complex[src]

impl AddAssign<u128> for Complex[src]

impl AddAssign<u16> for Complex[src]

impl AddAssign<u32> for Complex[src]

impl AddAssign<u64> for Complex[src]

impl AddAssign<u8> for Complex[src]

impl<'_> AddAssignRound<&'_ Complex> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddAssignRound<&'_ Float> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddAssignRound<&'_ Integer> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddAssignRound<&'_ Rational> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddAssignRound<&'_ f32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddAssignRound<&'_ f64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddAssignRound<&'_ i128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddAssignRound<&'_ i16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddAssignRound<&'_ i32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddAssignRound<&'_ i64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddAssignRound<&'_ i8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddAssignRound<&'_ u128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddAssignRound<&'_ u16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddAssignRound<&'_ u32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddAssignRound<&'_ u64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddAssignRound<&'_ u8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddAssignRound<Complex> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddAssignRound<Float> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddAssignRound<Integer> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddAssignRound<Rational> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddAssignRound<f32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddAssignRound<f64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddAssignRound<i128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddAssignRound<i16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddAssignRound<i32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddAssignRound<i64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddAssignRound<i8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddAssignRound<u128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddAssignRound<u16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddAssignRound<u32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddAssignRound<u64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddAssignRound<u8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddFrom<&'_ Complex> for Complex[src]

impl<'_> AddFrom<&'_ Float> for Complex[src]

impl<'_> AddFrom<&'_ Integer> for Complex[src]

impl<'_> AddFrom<&'_ Rational> for Complex[src]

impl<'_> AddFrom<&'_ f32> for Complex[src]

impl<'_> AddFrom<&'_ f64> for Complex[src]

impl<'_> AddFrom<&'_ i128> for Complex[src]

impl<'_> AddFrom<&'_ i16> for Complex[src]

impl<'_> AddFrom<&'_ i32> for Complex[src]

impl<'_> AddFrom<&'_ i64> for Complex[src]

impl<'_> AddFrom<&'_ i8> for Complex[src]

impl<'_> AddFrom<&'_ u128> for Complex[src]

impl<'_> AddFrom<&'_ u16> for Complex[src]

impl<'_> AddFrom<&'_ u32> for Complex[src]

impl<'_> AddFrom<&'_ u64> for Complex[src]

impl<'_> AddFrom<&'_ u8> for Complex[src]

impl AddFrom<Complex> for Complex[src]

impl AddFrom<Float> for Complex[src]

impl AddFrom<Integer> for Complex[src]

impl AddFrom<Rational> for Complex[src]

impl AddFrom<f32> for Complex[src]

impl AddFrom<f64> for Complex[src]

impl AddFrom<i128> for Complex[src]

impl AddFrom<i16> for Complex[src]

impl AddFrom<i32> for Complex[src]

impl AddFrom<i64> for Complex[src]

impl AddFrom<i8> for Complex[src]

impl AddFrom<u128> for Complex[src]

impl AddFrom<u16> for Complex[src]

impl AddFrom<u32> for Complex[src]

impl AddFrom<u64> for Complex[src]

impl AddFrom<u8> for Complex[src]

impl<'_> AddFromRound<&'_ Complex> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddFromRound<&'_ Float> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddFromRound<&'_ Integer> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddFromRound<&'_ Rational> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddFromRound<&'_ f32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddFromRound<&'_ f64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddFromRound<&'_ i128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddFromRound<&'_ i16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddFromRound<&'_ i32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddFromRound<&'_ i64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddFromRound<&'_ i8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddFromRound<&'_ u128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddFromRound<&'_ u16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddFromRound<&'_ u32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddFromRound<&'_ u64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> AddFromRound<&'_ u8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddFromRound<Complex> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddFromRound<Float> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddFromRound<Integer> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddFromRound<Rational> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddFromRound<f32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddFromRound<f64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddFromRound<i128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddFromRound<i16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddFromRound<i32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddFromRound<i64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddFromRound<i8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddFromRound<u128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddFromRound<u16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddFromRound<u32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddFromRound<u64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AddFromRound<u8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AsMut<Complex> for OrdComplex[src]

impl AsRef<Complex> for OrdComplex[src]

impl AsRef<OrdComplex> for Complex[src]

impl<T> Assign<T> for Complex where
    Self: AssignRound<T, Round = (Round, Round), Ordering = (Ordering, Ordering)>, 
[src]

impl<'_> AssignRound<&'_ Complex> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'a, Re, Im> AssignRound<&'a (Re, Im)> for Complex where
    Float: AssignRound<&'a Re, Round = Round, Ordering = Ordering> + AssignRound<&'a Im, Round = Round, Ordering = Ordering>, 
[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<Re, Im> AssignRound<(Re, Im)> for Complex where
    Float: AssignRound<Re, Round = Round, Ordering = Ordering> + AssignRound<Im, Round = Round, Ordering = Ordering>, 
[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl AssignRound<Complex> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<Re> AssignRound<Re> for Complex where
    Float: AssignRound<Re, Round = Round, Ordering = Ordering>, 
[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl Binary for Complex[src]

impl Clone for Complex[src]

impl Debug for Complex[src]

impl<'de> Deserialize<'de> for Complex[src]

impl Display for Complex[src]

impl<'_> Div<&'_ Complex> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'_> Div<&'_ Float> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'_> Div<&'_ Integer> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'_> Div<&'_ Rational> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'_> Div<&'_ f32> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'b, '_> Div<&'_ f32> for &'b Complex[src]

type Output = DivF32Incomplete<'b>

The resulting type after applying the / operator.

impl<'_> Div<&'_ f64> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'b, '_> Div<&'_ f64> for &'b Complex[src]

type Output = DivF64Incomplete<'b>

The resulting type after applying the / operator.

impl<'_> Div<&'_ i128> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'b, '_> Div<&'_ i128> for &'b Complex[src]

type Output = DivI128Incomplete<'b>

The resulting type after applying the / operator.

impl<'_> Div<&'_ i16> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'b, '_> Div<&'_ i16> for &'b Complex[src]

type Output = DivI16Incomplete<'b>

The resulting type after applying the / operator.

impl<'_> Div<&'_ i32> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'b, '_> Div<&'_ i32> for &'b Complex[src]

type Output = DivI32Incomplete<'b>

The resulting type after applying the / operator.

impl<'_> Div<&'_ i64> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'b, '_> Div<&'_ i64> for &'b Complex[src]

type Output = DivI64Incomplete<'b>

The resulting type after applying the / operator.

impl<'_> Div<&'_ i8> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'b, '_> Div<&'_ i8> for &'b Complex[src]

type Output = DivI8Incomplete<'b>

The resulting type after applying the / operator.

impl<'_> Div<&'_ u128> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'b, '_> Div<&'_ u128> for &'b Complex[src]

type Output = DivU128Incomplete<'b>

The resulting type after applying the / operator.

impl<'_> Div<&'_ u16> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'b, '_> Div<&'_ u16> for &'b Complex[src]

type Output = DivU16Incomplete<'b>

The resulting type after applying the / operator.

impl<'_> Div<&'_ u32> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'b, '_> Div<&'_ u32> for &'b Complex[src]

type Output = DivU32Incomplete<'b>

The resulting type after applying the / operator.

impl<'_> Div<&'_ u64> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'b, '_> Div<&'_ u64> for &'b Complex[src]

type Output = DivU64Incomplete<'b>

The resulting type after applying the / operator.

impl<'_> Div<&'_ u8> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'b, '_> Div<&'_ u8> for &'b Complex[src]

type Output = DivU8Incomplete<'b>

The resulting type after applying the / operator.

impl<'a> Div<&'a Complex> for &'a Complex[src]

type Output = DivIncomplete<'a>

The resulting type after applying the / operator.

impl<'a> Div<&'a Complex> for Float[src]

type Output = DivFromOwnedFloatIncomplete<'a>

The resulting type after applying the / operator.

impl<'a> Div<&'a Complex> for &'a Float[src]

type Output = DivFromFloatIncomplete<'a>

The resulting type after applying the / operator.

impl<'a> Div<&'a Float> for &'a Complex[src]

type Output = DivFloatIncomplete<'a>

The resulting type after applying the / operator.

impl<'a> Div<&'a Integer> for &'a Complex[src]

type Output = DivIntegerIncomplete<'a>

The resulting type after applying the / operator.

impl<'a> Div<&'a Rational> for &'a Complex[src]

type Output = DivRationalIncomplete<'a>

The resulting type after applying the / operator.

impl<'b> Div<&'b Complex> for i8[src]

type Output = DivFromI8Incomplete<'b>

The resulting type after applying the / operator.

impl<'b, '_> Div<&'b Complex> for &'_ i8[src]

type Output = DivFromI8Incomplete<'b>

The resulting type after applying the / operator.

impl<'b> Div<&'b Complex> for u8[src]

type Output = DivFromU8Incomplete<'b>

The resulting type after applying the / operator.

impl<'b, '_> Div<&'b Complex> for &'_ u8[src]

type Output = DivFromU8Incomplete<'b>

The resulting type after applying the / operator.

impl<'b> Div<&'b Complex> for u16[src]

type Output = DivFromU16Incomplete<'b>

The resulting type after applying the / operator.

impl<'b, '_> Div<&'b Complex> for &'_ u16[src]

type Output = DivFromU16Incomplete<'b>

The resulting type after applying the / operator.

impl<'b> Div<&'b Complex> for u32[src]

type Output = DivFromU32Incomplete<'b>

The resulting type after applying the / operator.

impl<'b, '_> Div<&'b Complex> for &'_ u32[src]

type Output = DivFromU32Incomplete<'b>

The resulting type after applying the / operator.

impl<'b> Div<&'b Complex> for u64[src]

type Output = DivFromU64Incomplete<'b>

The resulting type after applying the / operator.

impl<'b, '_> Div<&'b Complex> for &'_ u64[src]

type Output = DivFromU64Incomplete<'b>

The resulting type after applying the / operator.

impl<'b> Div<&'b Complex> for u128[src]

type Output = DivFromU128Incomplete<'b>

The resulting type after applying the / operator.

impl<'b, '_> Div<&'b Complex> for &'_ u128[src]

type Output = DivFromU128Incomplete<'b>

The resulting type after applying the / operator.

impl<'b> Div<&'b Complex> for i16[src]

type Output = DivFromI16Incomplete<'b>

The resulting type after applying the / operator.

impl<'b> Div<&'b Complex> for f32[src]

type Output = DivFromF32Incomplete<'b>

The resulting type after applying the / operator.

impl<'b, '_> Div<&'b Complex> for &'_ f32[src]

type Output = DivFromF32Incomplete<'b>

The resulting type after applying the / operator.

impl<'b> Div<&'b Complex> for f64[src]

type Output = DivFromF64Incomplete<'b>

The resulting type after applying the / operator.

impl<'b, '_> Div<&'b Complex> for &'_ f64[src]

type Output = DivFromF64Incomplete<'b>

The resulting type after applying the / operator.

impl<'b, '_> Div<&'b Complex> for &'_ i16[src]

type Output = DivFromI16Incomplete<'b>

The resulting type after applying the / operator.

impl<'b> Div<&'b Complex> for i32[src]

type Output = DivFromI32Incomplete<'b>

The resulting type after applying the / operator.

impl<'b, '_> Div<&'b Complex> for &'_ i32[src]

type Output = DivFromI32Incomplete<'b>

The resulting type after applying the / operator.

impl<'b> Div<&'b Complex> for i64[src]

type Output = DivFromI64Incomplete<'b>

The resulting type after applying the / operator.

impl<'b, '_> Div<&'b Complex> for &'_ i64[src]

type Output = DivFromI64Incomplete<'b>

The resulting type after applying the / operator.

impl<'b> Div<&'b Complex> for i128[src]

type Output = DivFromI128Incomplete<'b>

The resulting type after applying the / operator.

impl<'b, '_> Div<&'b Complex> for &'_ i128[src]

type Output = DivFromI128Incomplete<'b>

The resulting type after applying the / operator.

impl Div<Complex> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'_> Div<Complex> for &'_ Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl Div<Complex> for i64[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'_> Div<Complex> for &'_ i64[src]

type Output = Complex

The resulting type after applying the / operator.

impl Div<Complex> for i128[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'_> Div<Complex> for &'_ i128[src]

type Output = Complex

The resulting type after applying the / operator.

impl Div<Complex> for u8[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'_> Div<Complex> for &'_ u8[src]

type Output = Complex

The resulting type after applying the / operator.

impl Div<Complex> for u16[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'_> Div<Complex> for &'_ u16[src]

type Output = Complex

The resulting type after applying the / operator.

impl Div<Complex> for u32[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'_> Div<Complex> for &'_ u32[src]

type Output = Complex

The resulting type after applying the / operator.

impl Div<Complex> for Float[src]

type Output = Complex

The resulting type after applying the / operator.

impl Div<Complex> for u64[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'_> Div<Complex> for &'_ u64[src]

type Output = Complex

The resulting type after applying the / operator.

impl Div<Complex> for u128[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'_> Div<Complex> for &'_ u128[src]

type Output = Complex

The resulting type after applying the / operator.

impl Div<Complex> for f32[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'_> Div<Complex> for &'_ f32[src]

type Output = Complex

The resulting type after applying the / operator.

impl Div<Complex> for f64[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'_> Div<Complex> for &'_ f64[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'_> Div<Complex> for &'_ Float[src]

type Output = Complex

The resulting type after applying the / operator.

impl Div<Complex> for i8[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'_> Div<Complex> for &'_ i8[src]

type Output = Complex

The resulting type after applying the / operator.

impl Div<Complex> for i16[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'_> Div<Complex> for &'_ i16[src]

type Output = Complex

The resulting type after applying the / operator.

impl Div<Complex> for i32[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'_> Div<Complex> for &'_ i32[src]

type Output = Complex

The resulting type after applying the / operator.

impl Div<Float> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'a> Div<Float> for &'a Complex[src]

type Output = DivOwnedFloatIncomplete<'a>

The resulting type after applying the / operator.

impl Div<Integer> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'a> Div<Integer> for &'a Complex[src]

type Output = DivOwnedIntegerIncomplete<'a>

The resulting type after applying the / operator.

impl Div<Rational> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'a> Div<Rational> for &'a Complex[src]

type Output = DivOwnedRationalIncomplete<'a>

The resulting type after applying the / operator.

impl Div<f32> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'b> Div<f32> for &'b Complex[src]

type Output = DivF32Incomplete<'b>

The resulting type after applying the / operator.

impl Div<f64> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'b> Div<f64> for &'b Complex[src]

type Output = DivF64Incomplete<'b>

The resulting type after applying the / operator.

impl Div<i128> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'b> Div<i128> for &'b Complex[src]

type Output = DivI128Incomplete<'b>

The resulting type after applying the / operator.

impl Div<i16> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'b> Div<i16> for &'b Complex[src]

type Output = DivI16Incomplete<'b>

The resulting type after applying the / operator.

impl Div<i32> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'b> Div<i32> for &'b Complex[src]

type Output = DivI32Incomplete<'b>

The resulting type after applying the / operator.

impl Div<i64> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'b> Div<i64> for &'b Complex[src]

type Output = DivI64Incomplete<'b>

The resulting type after applying the / operator.

impl Div<i8> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'b> Div<i8> for &'b Complex[src]

type Output = DivI8Incomplete<'b>

The resulting type after applying the / operator.

impl Div<u128> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'b> Div<u128> for &'b Complex[src]

type Output = DivU128Incomplete<'b>

The resulting type after applying the / operator.

impl Div<u16> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'b> Div<u16> for &'b Complex[src]

type Output = DivU16Incomplete<'b>

The resulting type after applying the / operator.

impl Div<u32> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'b> Div<u32> for &'b Complex[src]

type Output = DivU32Incomplete<'b>

The resulting type after applying the / operator.

impl Div<u64> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'b> Div<u64> for &'b Complex[src]

type Output = DivU64Incomplete<'b>

The resulting type after applying the / operator.

impl Div<u8> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl<'b> Div<u8> for &'b Complex[src]

type Output = DivU8Incomplete<'b>

The resulting type after applying the / operator.

impl<'_> DivAssign<&'_ Complex> for Complex[src]

impl<'_> DivAssign<&'_ Float> for Complex[src]

impl<'_> DivAssign<&'_ Integer> for Complex[src]

impl<'_> DivAssign<&'_ Rational> for Complex[src]

impl<'_> DivAssign<&'_ f32> for Complex[src]

impl<'_> DivAssign<&'_ f64> for Complex[src]

impl<'_> DivAssign<&'_ i128> for Complex[src]

impl<'_> DivAssign<&'_ i16> for Complex[src]

impl<'_> DivAssign<&'_ i32> for Complex[src]

impl<'_> DivAssign<&'_ i64> for Complex[src]

impl<'_> DivAssign<&'_ i8> for Complex[src]

impl<'_> DivAssign<&'_ u128> for Complex[src]

impl<'_> DivAssign<&'_ u16> for Complex[src]

impl<'_> DivAssign<&'_ u32> for Complex[src]

impl<'_> DivAssign<&'_ u64> for Complex[src]

impl<'_> DivAssign<&'_ u8> for Complex[src]

impl DivAssign<Complex> for Complex[src]

impl DivAssign<Float> for Complex[src]

impl DivAssign<Integer> for Complex[src]

impl DivAssign<Rational> for Complex[src]

impl DivAssign<f32> for Complex[src]

impl DivAssign<f64> for Complex[src]

impl DivAssign<i128> for Complex[src]

impl DivAssign<i16> for Complex[src]

impl DivAssign<i32> for Complex[src]

impl DivAssign<i64> for Complex[src]

impl DivAssign<i8> for Complex[src]

impl DivAssign<u128> for Complex[src]

impl DivAssign<u16> for Complex[src]

impl DivAssign<u32> for Complex[src]

impl DivAssign<u64> for Complex[src]

impl DivAssign<u8> for Complex[src]

impl<'_> DivAssignRound<&'_ Complex> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivAssignRound<&'_ Float> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivAssignRound<&'_ Integer> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivAssignRound<&'_ Rational> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivAssignRound<&'_ f32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivAssignRound<&'_ f64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivAssignRound<&'_ i128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivAssignRound<&'_ i16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivAssignRound<&'_ i32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivAssignRound<&'_ i64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivAssignRound<&'_ i8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivAssignRound<&'_ u128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivAssignRound<&'_ u16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivAssignRound<&'_ u32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivAssignRound<&'_ u64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivAssignRound<&'_ u8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivAssignRound<Complex> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivAssignRound<Float> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivAssignRound<Integer> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivAssignRound<Rational> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivAssignRound<f32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivAssignRound<f64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivAssignRound<i128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivAssignRound<i16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivAssignRound<i32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivAssignRound<i64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivAssignRound<i8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivAssignRound<u128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivAssignRound<u16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivAssignRound<u32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivAssignRound<u64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivAssignRound<u8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivFrom<&'_ Complex> for Complex[src]

impl<'_> DivFrom<&'_ Float> for Complex[src]

impl<'_> DivFrom<&'_ f32> for Complex[src]

impl<'_> DivFrom<&'_ f64> for Complex[src]

impl<'_> DivFrom<&'_ i128> for Complex[src]

impl<'_> DivFrom<&'_ i16> for Complex[src]

impl<'_> DivFrom<&'_ i32> for Complex[src]

impl<'_> DivFrom<&'_ i64> for Complex[src]

impl<'_> DivFrom<&'_ i8> for Complex[src]

impl<'_> DivFrom<&'_ u128> for Complex[src]

impl<'_> DivFrom<&'_ u16> for Complex[src]

impl<'_> DivFrom<&'_ u32> for Complex[src]

impl<'_> DivFrom<&'_ u64> for Complex[src]

impl<'_> DivFrom<&'_ u8> for Complex[src]

impl DivFrom<Complex> for Complex[src]

impl DivFrom<Float> for Complex[src]

impl DivFrom<f32> for Complex[src]

impl DivFrom<f64> for Complex[src]

impl DivFrom<i128> for Complex[src]

impl DivFrom<i16> for Complex[src]

impl DivFrom<i32> for Complex[src]

impl DivFrom<i64> for Complex[src]

impl DivFrom<i8> for Complex[src]

impl DivFrom<u128> for Complex[src]

impl DivFrom<u16> for Complex[src]

impl DivFrom<u32> for Complex[src]

impl DivFrom<u64> for Complex[src]

impl DivFrom<u8> for Complex[src]

impl<'_> DivFromRound<&'_ Complex> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivFromRound<&'_ Float> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivFromRound<&'_ f32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivFromRound<&'_ f64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivFromRound<&'_ i128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivFromRound<&'_ i16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivFromRound<&'_ i32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivFromRound<&'_ i64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivFromRound<&'_ i8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivFromRound<&'_ u128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivFromRound<&'_ u16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivFromRound<&'_ u32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivFromRound<&'_ u64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> DivFromRound<&'_ u8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivFromRound<Complex> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivFromRound<Float> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivFromRound<f32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivFromRound<f64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivFromRound<i128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivFromRound<i16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivFromRound<i32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivFromRound<i64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivFromRound<i8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivFromRound<u128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivFromRound<u16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivFromRound<u32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivFromRound<u64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl DivFromRound<u8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl Drop for Complex[src]

impl<Re, Im> From<(Re, Im)> for Complex where
    Float: From<Re> + From<Im>, 
[src]

impl From<Complex> for OrdComplex[src]

impl From<OrdComplex> for Complex[src]

impl<Re> From<Re> for Complex where
    Float: From<Re>, 
[src]

impl LowerExp for Complex[src]

impl LowerHex for Complex[src]

impl<'_> Mul<&'_ Complex> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'_> Mul<&'_ Float> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'_> Mul<&'_ Integer> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'_> Mul<&'_ Rational> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'_> Mul<&'_ f32> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'b, '_> Mul<&'_ f32> for &'b Complex[src]

type Output = MulF32Incomplete<'b>

The resulting type after applying the * operator.

impl<'_> Mul<&'_ f64> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'b, '_> Mul<&'_ f64> for &'b Complex[src]

type Output = MulF64Incomplete<'b>

The resulting type after applying the * operator.

impl<'_> Mul<&'_ i128> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'b, '_> Mul<&'_ i128> for &'b Complex[src]

type Output = MulI128Incomplete<'b>

The resulting type after applying the * operator.

impl<'_> Mul<&'_ i16> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'b, '_> Mul<&'_ i16> for &'b Complex[src]

type Output = MulI16Incomplete<'b>

The resulting type after applying the * operator.

impl<'_> Mul<&'_ i32> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'b, '_> Mul<&'_ i32> for &'b Complex[src]

type Output = MulI32Incomplete<'b>

The resulting type after applying the * operator.

impl<'_> Mul<&'_ i64> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'b, '_> Mul<&'_ i64> for &'b Complex[src]

type Output = MulI64Incomplete<'b>

The resulting type after applying the * operator.

impl<'_> Mul<&'_ i8> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'b, '_> Mul<&'_ i8> for &'b Complex[src]

type Output = MulI8Incomplete<'b>

The resulting type after applying the * operator.

impl<'_> Mul<&'_ u128> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'b, '_> Mul<&'_ u128> for &'b Complex[src]

type Output = MulU128Incomplete<'b>

The resulting type after applying the * operator.

impl<'_> Mul<&'_ u16> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'b, '_> Mul<&'_ u16> for &'b Complex[src]

type Output = MulU16Incomplete<'b>

The resulting type after applying the * operator.

impl<'_> Mul<&'_ u32> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'b, '_> Mul<&'_ u32> for &'b Complex[src]

type Output = MulU32Incomplete<'b>

The resulting type after applying the * operator.

impl<'_> Mul<&'_ u64> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'b, '_> Mul<&'_ u64> for &'b Complex[src]

type Output = MulU64Incomplete<'b>

The resulting type after applying the * operator.

impl<'_> Mul<&'_ u8> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'b, '_> Mul<&'_ u8> for &'b Complex[src]

type Output = MulU8Incomplete<'b>

The resulting type after applying the * operator.

impl<'a> Mul<&'a Complex> for &'a Complex[src]

type Output = MulIncomplete<'a>

The resulting type after applying the * operator.

impl<'a> Mul<&'a Complex> for Float[src]

type Output = MulOwnedFloatIncomplete<'a>

The resulting type after applying the * operator.

impl<'a> Mul<&'a Complex> for u32[src]

type Output = MulU32Incomplete<'a>

The resulting type after applying the * operator.

impl<'a> Mul<&'a Complex> for u64[src]

type Output = MulU64Incomplete<'a>

The resulting type after applying the * operator.

impl<'a> Mul<&'a Complex> for u128[src]

type Output = MulU128Incomplete<'a>

The resulting type after applying the * operator.

impl<'a> Mul<&'a Complex> for f32[src]

type Output = MulF32Incomplete<'a>

The resulting type after applying the * operator.

impl<'a> Mul<&'a Complex> for f64[src]

type Output = MulF64Incomplete<'a>

The resulting type after applying the * operator.

impl<'a> Mul<&'a Complex> for Integer[src]

type Output = MulOwnedIntegerIncomplete<'a>

The resulting type after applying the * operator.

impl<'a> Mul<&'a Complex> for &'a Integer[src]

type Output = MulIntegerIncomplete<'a>

The resulting type after applying the * operator.

impl<'a> Mul<&'a Complex> for Rational[src]

type Output = MulOwnedRationalIncomplete<'a>

The resulting type after applying the * operator.

impl<'a> Mul<&'a Complex> for &'a Rational[src]

type Output = MulRationalIncomplete<'a>

The resulting type after applying the * operator.

impl<'a> Mul<&'a Complex> for &'a Float[src]

type Output = MulFloatIncomplete<'a>

The resulting type after applying the * operator.

impl<'a> Mul<&'a Complex> for i8[src]

type Output = MulI8Incomplete<'a>

The resulting type after applying the * operator.

impl<'a> Mul<&'a Complex> for i16[src]

type Output = MulI16Incomplete<'a>

The resulting type after applying the * operator.

impl<'a> Mul<&'a Complex> for i32[src]

type Output = MulI32Incomplete<'a>

The resulting type after applying the * operator.

impl<'a> Mul<&'a Complex> for i64[src]

type Output = MulI64Incomplete<'a>

The resulting type after applying the * operator.

impl<'a> Mul<&'a Complex> for i128[src]

type Output = MulI128Incomplete<'a>

The resulting type after applying the * operator.

impl<'a> Mul<&'a Complex> for u8[src]

type Output = MulU8Incomplete<'a>

The resulting type after applying the * operator.

impl<'a> Mul<&'a Complex> for u16[src]

type Output = MulU16Incomplete<'a>

The resulting type after applying the * operator.

impl<'a> Mul<&'a Float> for &'a Complex[src]

type Output = MulFloatIncomplete<'a>

The resulting type after applying the * operator.

impl<'a> Mul<&'a Integer> for &'a Complex[src]

type Output = MulIntegerIncomplete<'a>

The resulting type after applying the * operator.

impl<'a> Mul<&'a Rational> for &'a Complex[src]

type Output = MulRationalIncomplete<'a>

The resulting type after applying the * operator.

impl<'b, '_> Mul<&'b Complex> for &'_ i8[src]

type Output = MulI8Incomplete<'b>

The resulting type after applying the * operator.

impl<'b, '_> Mul<&'b Complex> for &'_ i16[src]

type Output = MulI16Incomplete<'b>

The resulting type after applying the * operator.

impl<'b, '_> Mul<&'b Complex> for &'_ f32[src]

type Output = MulF32Incomplete<'b>

The resulting type after applying the * operator.

impl<'b, '_> Mul<&'b Complex> for &'_ f64[src]

type Output = MulF64Incomplete<'b>

The resulting type after applying the * operator.

impl<'b, '_> Mul<&'b Complex> for &'_ i32[src]

type Output = MulI32Incomplete<'b>

The resulting type after applying the * operator.

impl<'b, '_> Mul<&'b Complex> for &'_ i64[src]

type Output = MulI64Incomplete<'b>

The resulting type after applying the * operator.

impl<'b, '_> Mul<&'b Complex> for &'_ i128[src]

type Output = MulI128Incomplete<'b>

The resulting type after applying the * operator.

impl<'b, '_> Mul<&'b Complex> for &'_ u8[src]

type Output = MulU8Incomplete<'b>

The resulting type after applying the * operator.

impl<'b, '_> Mul<&'b Complex> for &'_ u16[src]

type Output = MulU16Incomplete<'b>

The resulting type after applying the * operator.

impl<'b, '_> Mul<&'b Complex> for &'_ u32[src]

type Output = MulU32Incomplete<'b>

The resulting type after applying the * operator.

impl<'b, '_> Mul<&'b Complex> for &'_ u64[src]

type Output = MulU64Incomplete<'b>

The resulting type after applying the * operator.

impl<'b, '_> Mul<&'b Complex> for &'_ u128[src]

type Output = MulU128Incomplete<'b>

The resulting type after applying the * operator.

impl Mul<Complex> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'_> Mul<Complex> for &'_ Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl Mul<Complex> for i64[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'_> Mul<Complex> for &'_ i64[src]

type Output = Complex

The resulting type after applying the * operator.

impl Mul<Complex> for i128[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'_> Mul<Complex> for &'_ i128[src]

type Output = Complex

The resulting type after applying the * operator.

impl Mul<Complex> for u8[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'_> Mul<Complex> for &'_ u8[src]

type Output = Complex

The resulting type after applying the * operator.

impl Mul<Complex> for u16[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'_> Mul<Complex> for &'_ u16[src]

type Output = Complex

The resulting type after applying the * operator.

impl Mul<Complex> for u32[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'_> Mul<Complex> for &'_ u32[src]

type Output = Complex

The resulting type after applying the * operator.

impl Mul<Complex> for Float[src]

type Output = Complex

The resulting type after applying the * operator.

impl Mul<Complex> for u64[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'_> Mul<Complex> for &'_ u64[src]

type Output = Complex

The resulting type after applying the * operator.

impl Mul<Complex> for u128[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'_> Mul<Complex> for &'_ u128[src]

type Output = Complex

The resulting type after applying the * operator.

impl Mul<Complex> for f32[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'_> Mul<Complex> for &'_ f32[src]

type Output = Complex

The resulting type after applying the * operator.

impl Mul<Complex> for f64[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'_> Mul<Complex> for &'_ f64[src]

type Output = Complex

The resulting type after applying the * operator.

impl Mul<Complex> for Integer[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'_> Mul<Complex> for &'_ Integer[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'_> Mul<Complex> for &'_ Float[src]

type Output = Complex

The resulting type after applying the * operator.

impl Mul<Complex> for Rational[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'_> Mul<Complex> for &'_ Rational[src]

type Output = Complex

The resulting type after applying the * operator.

impl Mul<Complex> for i8[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'_> Mul<Complex> for &'_ i8[src]

type Output = Complex

The resulting type after applying the * operator.

impl Mul<Complex> for i16[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'_> Mul<Complex> for &'_ i16[src]

type Output = Complex

The resulting type after applying the * operator.

impl Mul<Complex> for i32[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'_> Mul<Complex> for &'_ i32[src]

type Output = Complex

The resulting type after applying the * operator.

impl Mul<Float> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'a> Mul<Float> for &'a Complex[src]

type Output = MulOwnedFloatIncomplete<'a>

The resulting type after applying the * operator.

impl Mul<Integer> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'a> Mul<Integer> for &'a Complex[src]

type Output = MulOwnedIntegerIncomplete<'a>

The resulting type after applying the * operator.

impl Mul<Rational> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'a> Mul<Rational> for &'a Complex[src]

type Output = MulOwnedRationalIncomplete<'a>

The resulting type after applying the * operator.

impl Mul<f32> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'b> Mul<f32> for &'b Complex[src]

type Output = MulF32Incomplete<'b>

The resulting type after applying the * operator.

impl Mul<f64> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'b> Mul<f64> for &'b Complex[src]

type Output = MulF64Incomplete<'b>

The resulting type after applying the * operator.

impl Mul<i128> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'b> Mul<i128> for &'b Complex[src]

type Output = MulI128Incomplete<'b>

The resulting type after applying the * operator.

impl Mul<i16> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'b> Mul<i16> for &'b Complex[src]

type Output = MulI16Incomplete<'b>

The resulting type after applying the * operator.

impl Mul<i32> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'b> Mul<i32> for &'b Complex[src]

type Output = MulI32Incomplete<'b>

The resulting type after applying the * operator.

impl Mul<i64> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'b> Mul<i64> for &'b Complex[src]

type Output = MulI64Incomplete<'b>

The resulting type after applying the * operator.

impl Mul<i8> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'b> Mul<i8> for &'b Complex[src]

type Output = MulI8Incomplete<'b>

The resulting type after applying the * operator.

impl Mul<u128> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'b> Mul<u128> for &'b Complex[src]

type Output = MulU128Incomplete<'b>

The resulting type after applying the * operator.

impl Mul<u16> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'b> Mul<u16> for &'b Complex[src]

type Output = MulU16Incomplete<'b>

The resulting type after applying the * operator.

impl Mul<u32> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'b> Mul<u32> for &'b Complex[src]

type Output = MulU32Incomplete<'b>

The resulting type after applying the * operator.

impl Mul<u64> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'b> Mul<u64> for &'b Complex[src]

type Output = MulU64Incomplete<'b>

The resulting type after applying the * operator.

impl Mul<u8> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl<'b> Mul<u8> for &'b Complex[src]

type Output = MulU8Incomplete<'b>

The resulting type after applying the * operator.

impl<'_> MulAssign<&'_ Complex> for Complex[src]

impl<'_> MulAssign<&'_ Float> for Complex[src]

impl<'_> MulAssign<&'_ Integer> for Complex[src]

impl<'_> MulAssign<&'_ Rational> for Complex[src]

impl<'_> MulAssign<&'_ f32> for Complex[src]

impl<'_> MulAssign<&'_ f64> for Complex[src]

impl<'_> MulAssign<&'_ i128> for Complex[src]

impl<'_> MulAssign<&'_ i16> for Complex[src]

impl<'_> MulAssign<&'_ i32> for Complex[src]

impl<'_> MulAssign<&'_ i64> for Complex[src]

impl<'_> MulAssign<&'_ i8> for Complex[src]

impl<'_> MulAssign<&'_ u128> for Complex[src]

impl<'_> MulAssign<&'_ u16> for Complex[src]

impl<'_> MulAssign<&'_ u32> for Complex[src]

impl<'_> MulAssign<&'_ u64> for Complex[src]

impl<'_> MulAssign<&'_ u8> for Complex[src]

impl MulAssign<Complex> for Complex[src]

impl MulAssign<Float> for Complex[src]

impl MulAssign<Integer> for Complex[src]

impl MulAssign<Rational> for Complex[src]

impl MulAssign<f32> for Complex[src]

impl MulAssign<f64> for Complex[src]

impl MulAssign<i128> for Complex[src]

impl MulAssign<i16> for Complex[src]

impl MulAssign<i32> for Complex[src]

impl MulAssign<i64> for Complex[src]

impl MulAssign<i8> for Complex[src]

impl MulAssign<u128> for Complex[src]

impl MulAssign<u16> for Complex[src]

impl MulAssign<u32> for Complex[src]

impl MulAssign<u64> for Complex[src]

impl MulAssign<u8> for Complex[src]

impl<'_> MulAssignRound<&'_ Complex> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulAssignRound<&'_ Float> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulAssignRound<&'_ Integer> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulAssignRound<&'_ Rational> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulAssignRound<&'_ f32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulAssignRound<&'_ f64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulAssignRound<&'_ i128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulAssignRound<&'_ i16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulAssignRound<&'_ i32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulAssignRound<&'_ i64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulAssignRound<&'_ i8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulAssignRound<&'_ u128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulAssignRound<&'_ u16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulAssignRound<&'_ u32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulAssignRound<&'_ u64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulAssignRound<&'_ u8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulAssignRound<Complex> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulAssignRound<Float> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulAssignRound<Integer> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulAssignRound<Rational> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulAssignRound<f32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulAssignRound<f64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulAssignRound<i128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulAssignRound<i16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulAssignRound<i32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulAssignRound<i64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulAssignRound<i8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulAssignRound<u128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulAssignRound<u16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulAssignRound<u32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulAssignRound<u64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulAssignRound<u8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulFrom<&'_ Complex> for Complex[src]

impl<'_> MulFrom<&'_ Float> for Complex[src]

impl<'_> MulFrom<&'_ Integer> for Complex[src]

impl<'_> MulFrom<&'_ Rational> for Complex[src]

impl<'_> MulFrom<&'_ f32> for Complex[src]

impl<'_> MulFrom<&'_ f64> for Complex[src]

impl<'_> MulFrom<&'_ i128> for Complex[src]

impl<'_> MulFrom<&'_ i16> for Complex[src]

impl<'_> MulFrom<&'_ i32> for Complex[src]

impl<'_> MulFrom<&'_ i64> for Complex[src]

impl<'_> MulFrom<&'_ i8> for Complex[src]

impl<'_> MulFrom<&'_ u128> for Complex[src]

impl<'_> MulFrom<&'_ u16> for Complex[src]

impl<'_> MulFrom<&'_ u32> for Complex[src]

impl<'_> MulFrom<&'_ u64> for Complex[src]

impl<'_> MulFrom<&'_ u8> for Complex[src]

impl MulFrom<Complex> for Complex[src]

impl MulFrom<Float> for Complex[src]

impl MulFrom<Integer> for Complex[src]

impl MulFrom<Rational> for Complex[src]

impl MulFrom<f32> for Complex[src]

impl MulFrom<f64> for Complex[src]

impl MulFrom<i128> for Complex[src]

impl MulFrom<i16> for Complex[src]

impl MulFrom<i32> for Complex[src]

impl MulFrom<i64> for Complex[src]

impl MulFrom<i8> for Complex[src]

impl MulFrom<u128> for Complex[src]

impl MulFrom<u16> for Complex[src]

impl MulFrom<u32> for Complex[src]

impl MulFrom<u64> for Complex[src]

impl MulFrom<u8> for Complex[src]

impl<'_> MulFromRound<&'_ Complex> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulFromRound<&'_ Float> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulFromRound<&'_ Integer> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulFromRound<&'_ Rational> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulFromRound<&'_ f32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulFromRound<&'_ f64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulFromRound<&'_ i128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulFromRound<&'_ i16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulFromRound<&'_ i32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulFromRound<&'_ i64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulFromRound<&'_ i8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulFromRound<&'_ u128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulFromRound<&'_ u16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulFromRound<&'_ u32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulFromRound<&'_ u64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> MulFromRound<&'_ u8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulFromRound<Complex> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulFromRound<Float> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulFromRound<Integer> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulFromRound<Rational> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulFromRound<f32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulFromRound<f64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulFromRound<i128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulFromRound<i16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulFromRound<i32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulFromRound<i64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulFromRound<i8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulFromRound<u128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulFromRound<u16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulFromRound<u32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulFromRound<u64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl MulFromRound<u8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl Neg for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'a> Neg for &'a Complex[src]

type Output = NegIncomplete<'a>

The resulting type after applying the - operator.

impl NegAssign for Complex[src]

impl Octal for Complex[src]

impl PartialEq<(Float, Float)> for Complex[src]

impl PartialEq<(Float, Integer)> for Complex[src]

impl PartialEq<(Float, Rational)> for Complex[src]

impl PartialEq<(Float, Special)> for Complex[src]

impl PartialEq<(Float, f32)> for Complex[src]

impl PartialEq<(Float, f64)> for Complex[src]

impl PartialEq<(Float, i128)> for Complex[src]

impl PartialEq<(Float, i16)> for Complex[src]

impl PartialEq<(Float, i32)> for Complex[src]

impl PartialEq<(Float, i64)> for Complex[src]

impl PartialEq<(Float, i8)> for Complex[src]

impl PartialEq<(Float, isize)> for Complex[src]

impl PartialEq<(Float, u128)> for Complex[src]

impl PartialEq<(Float, u16)> for Complex[src]

impl PartialEq<(Float, u32)> for Complex[src]

impl PartialEq<(Float, u64)> for Complex[src]

impl PartialEq<(Float, u8)> for Complex[src]

impl PartialEq<(Float, usize)> for Complex[src]

impl PartialEq<(Integer, Float)> for Complex[src]

impl PartialEq<(Integer, Integer)> for Complex[src]

impl PartialEq<(Integer, Rational)> for Complex[src]

impl PartialEq<(Integer, Special)> for Complex[src]

impl PartialEq<(Integer, f32)> for Complex[src]

impl PartialEq<(Integer, f64)> for Complex[src]

impl PartialEq<(Integer, i128)> for Complex[src]

impl PartialEq<(Integer, i16)> for Complex[src]

impl PartialEq<(Integer, i32)> for Complex[src]

impl PartialEq<(Integer, i64)> for Complex[src]

impl PartialEq<(Integer, i8)> for Complex[src]

impl PartialEq<(Integer, isize)> for Complex[src]

impl PartialEq<(Integer, u128)> for Complex[src]

impl PartialEq<(Integer, u16)> for Complex[src]

impl PartialEq<(Integer, u32)> for Complex[src]

impl PartialEq<(Integer, u64)> for Complex[src]

impl PartialEq<(Integer, u8)> for Complex[src]

impl PartialEq<(Integer, usize)> for Complex[src]

impl PartialEq<(Rational, Float)> for Complex[src]

impl PartialEq<(Rational, Integer)> for Complex[src]

impl PartialEq<(Rational, Rational)> for Complex[src]

impl PartialEq<(Rational, Special)> for Complex[src]

impl PartialEq<(Rational, f32)> for Complex[src]

impl PartialEq<(Rational, f64)> for Complex[src]

impl PartialEq<(Rational, i128)> for Complex[src]

impl PartialEq<(Rational, i16)> for Complex[src]

impl PartialEq<(Rational, i32)> for Complex[src]

impl PartialEq<(Rational, i64)> for Complex[src]

impl PartialEq<(Rational, i8)> for Complex[src]

impl PartialEq<(Rational, isize)> for Complex[src]

impl PartialEq<(Rational, u128)> for Complex[src]

impl PartialEq<(Rational, u16)> for Complex[src]

impl PartialEq<(Rational, u32)> for Complex[src]

impl PartialEq<(Rational, u64)> for Complex[src]

impl PartialEq<(Rational, u8)> for Complex[src]

impl PartialEq<(Rational, usize)> for Complex[src]

impl PartialEq<(Special, Float)> for Complex[src]

impl PartialEq<(Special, Integer)> for Complex[src]

impl PartialEq<(Special, Rational)> for Complex[src]

impl PartialEq<(Special, Special)> for Complex[src]

impl PartialEq<(Special, f32)> for Complex[src]

impl PartialEq<(Special, f64)> for Complex[src]

impl PartialEq<(Special, i128)> for Complex[src]

impl PartialEq<(Special, i16)> for Complex[src]

impl PartialEq<(Special, i32)> for Complex[src]

impl PartialEq<(Special, i64)> for Complex[src]

impl PartialEq<(Special, i8)> for Complex[src]

impl PartialEq<(Special, isize)> for Complex[src]

impl PartialEq<(Special, u128)> for Complex[src]

impl PartialEq<(Special, u16)> for Complex[src]

impl PartialEq<(Special, u32)> for Complex[src]

impl PartialEq<(Special, u64)> for Complex[src]

impl PartialEq<(Special, u8)> for Complex[src]

impl PartialEq<(Special, usize)> for Complex[src]

impl PartialEq<(f32, Float)> for Complex[src]

impl PartialEq<(f32, Integer)> for Complex[src]

impl PartialEq<(f32, Rational)> for Complex[src]

impl PartialEq<(f32, Special)> for Complex[src]

impl PartialEq<(f32, f32)> for Complex[src]

impl PartialEq<(f32, f64)> for Complex[src]

impl PartialEq<(f32, i128)> for Complex[src]

impl PartialEq<(f32, i16)> for Complex[src]

impl PartialEq<(f32, i32)> for Complex[src]

impl PartialEq<(f32, i64)> for Complex[src]

impl PartialEq<(f32, i8)> for Complex[src]

impl PartialEq<(f32, isize)> for Complex[src]

impl PartialEq<(f32, u128)> for Complex[src]

impl PartialEq<(f32, u16)> for Complex[src]

impl PartialEq<(f32, u32)> for Complex[src]

impl PartialEq<(f32, u64)> for Complex[src]

impl PartialEq<(f32, u8)> for Complex[src]

impl PartialEq<(f32, usize)> for Complex[src]

impl PartialEq<(f64, Float)> for Complex[src]

impl PartialEq<(f64, Integer)> for Complex[src]

impl PartialEq<(f64, Rational)> for Complex[src]

impl PartialEq<(f64, Special)> for Complex[src]

impl PartialEq<(f64, f32)> for Complex[src]

impl PartialEq<(f64, f64)> for Complex[src]

impl PartialEq<(f64, i128)> for Complex[src]

impl PartialEq<(f64, i16)> for Complex[src]

impl PartialEq<(f64, i32)> for Complex[src]

impl PartialEq<(f64, i64)> for Complex[src]

impl PartialEq<(f64, i8)> for Complex[src]

impl PartialEq<(f64, isize)> for Complex[src]

impl PartialEq<(f64, u128)> for Complex[src]

impl PartialEq<(f64, u16)> for Complex[src]

impl PartialEq<(f64, u32)> for Complex[src]

impl PartialEq<(f64, u64)> for Complex[src]

impl PartialEq<(f64, u8)> for Complex[src]

impl PartialEq<(f64, usize)> for Complex[src]

impl PartialEq<(i128, Float)> for Complex[src]

impl PartialEq<(i128, Integer)> for Complex[src]

impl PartialEq<(i128, Rational)> for Complex[src]

impl PartialEq<(i128, Special)> for Complex[src]

impl PartialEq<(i128, f32)> for Complex[src]

impl PartialEq<(i128, f64)> for Complex[src]

impl PartialEq<(i128, i128)> for Complex[src]

impl PartialEq<(i128, i16)> for Complex[src]

impl PartialEq<(i128, i32)> for Complex[src]

impl PartialEq<(i128, i64)> for Complex[src]

impl PartialEq<(i128, i8)> for Complex[src]

impl PartialEq<(i128, isize)> for Complex[src]

impl PartialEq<(i128, u128)> for Complex[src]

impl PartialEq<(i128, u16)> for Complex[src]

impl PartialEq<(i128, u32)> for Complex[src]

impl PartialEq<(i128, u64)> for Complex[src]

impl PartialEq<(i128, u8)> for Complex[src]

impl PartialEq<(i128, usize)> for Complex[src]

impl PartialEq<(i16, Float)> for Complex[src]

impl PartialEq<(i16, Integer)> for Complex[src]

impl PartialEq<(i16, Rational)> for Complex[src]

impl PartialEq<(i16, Special)> for Complex[src]

impl PartialEq<(i16, f32)> for Complex[src]

impl PartialEq<(i16, f64)> for Complex[src]

impl PartialEq<(i16, i128)> for Complex[src]

impl PartialEq<(i16, i16)> for Complex[src]

impl PartialEq<(i16, i32)> for Complex[src]

impl PartialEq<(i16, i64)> for Complex[src]

impl PartialEq<(i16, i8)> for Complex[src]

impl PartialEq<(i16, isize)> for Complex[src]

impl PartialEq<(i16, u128)> for Complex[src]

impl PartialEq<(i16, u16)> for Complex[src]

impl PartialEq<(i16, u32)> for Complex[src]

impl PartialEq<(i16, u64)> for Complex[src]

impl PartialEq<(i16, u8)> for Complex[src]

impl PartialEq<(i16, usize)> for Complex[src]

impl PartialEq<(i32, Float)> for Complex[src]

impl PartialEq<(i32, Integer)> for Complex[src]

impl PartialEq<(i32, Rational)> for Complex[src]

impl PartialEq<(i32, Special)> for Complex[src]

impl PartialEq<(i32, f32)> for Complex[src]

impl PartialEq<(i32, f64)> for Complex[src]

impl PartialEq<(i32, i128)> for Complex[src]

impl PartialEq<(i32, i16)> for Complex[src]

impl PartialEq<(i32, i32)> for Complex[src]

impl PartialEq<(i32, i64)> for Complex[src]

impl PartialEq<(i32, i8)> for Complex[src]

impl PartialEq<(i32, isize)> for Complex[src]

impl PartialEq<(i32, u128)> for Complex[src]

impl PartialEq<(i32, u16)> for Complex[src]

impl PartialEq<(i32, u32)> for Complex[src]

impl PartialEq<(i32, u64)> for Complex[src]

impl PartialEq<(i32, u8)> for Complex[src]

impl PartialEq<(i32, usize)> for Complex[src]

impl PartialEq<(i64, Float)> for Complex[src]

impl PartialEq<(i64, Integer)> for Complex[src]

impl PartialEq<(i64, Rational)> for Complex[src]

impl PartialEq<(i64, Special)> for Complex[src]

impl PartialEq<(i64, f32)> for Complex[src]

impl PartialEq<(i64, f64)> for Complex[src]

impl PartialEq<(i64, i128)> for Complex[src]

impl PartialEq<(i64, i16)> for Complex[src]

impl PartialEq<(i64, i32)> for Complex[src]

impl PartialEq<(i64, i64)> for Complex[src]

impl PartialEq<(i64, i8)> for Complex[src]

impl PartialEq<(i64, isize)> for Complex[src]

impl PartialEq<(i64, u128)> for Complex[src]

impl PartialEq<(i64, u16)> for Complex[src]

impl PartialEq<(i64, u32)> for Complex[src]

impl PartialEq<(i64, u64)> for Complex[src]

impl PartialEq<(i64, u8)> for Complex[src]

impl PartialEq<(i64, usize)> for Complex[src]

impl PartialEq<(i8, Float)> for Complex[src]

impl PartialEq<(i8, Integer)> for Complex[src]

impl PartialEq<(i8, Rational)> for Complex[src]

impl PartialEq<(i8, Special)> for Complex[src]

impl PartialEq<(i8, f32)> for Complex[src]

impl PartialEq<(i8, f64)> for Complex[src]

impl PartialEq<(i8, i128)> for Complex[src]

impl PartialEq<(i8, i16)> for Complex[src]

impl PartialEq<(i8, i32)> for Complex[src]

impl PartialEq<(i8, i64)> for Complex[src]

impl PartialEq<(i8, i8)> for Complex[src]

impl PartialEq<(i8, isize)> for Complex[src]

impl PartialEq<(i8, u128)> for Complex[src]

impl PartialEq<(i8, u16)> for Complex[src]

impl PartialEq<(i8, u32)> for Complex[src]

impl PartialEq<(i8, u64)> for Complex[src]

impl PartialEq<(i8, u8)> for Complex[src]

impl PartialEq<(i8, usize)> for Complex[src]

impl PartialEq<(isize, Float)> for Complex[src]

impl PartialEq<(isize, Integer)> for Complex[src]

impl PartialEq<(isize, Rational)> for Complex[src]

impl PartialEq<(isize, Special)> for Complex[src]

impl PartialEq<(isize, f32)> for Complex[src]

impl PartialEq<(isize, f64)> for Complex[src]

impl PartialEq<(isize, i128)> for Complex[src]

impl PartialEq<(isize, i16)> for Complex[src]

impl PartialEq<(isize, i32)> for Complex[src]

impl PartialEq<(isize, i64)> for Complex[src]

impl PartialEq<(isize, i8)> for Complex[src]

impl PartialEq<(isize, isize)> for Complex[src]

impl PartialEq<(isize, u128)> for Complex[src]

impl PartialEq<(isize, u16)> for Complex[src]

impl PartialEq<(isize, u32)> for Complex[src]

impl PartialEq<(isize, u64)> for Complex[src]

impl PartialEq<(isize, u8)> for Complex[src]

impl PartialEq<(isize, usize)> for Complex[src]

impl PartialEq<(u128, Float)> for Complex[src]

impl PartialEq<(u128, Integer)> for Complex[src]

impl PartialEq<(u128, Rational)> for Complex[src]

impl PartialEq<(u128, Special)> for Complex[src]

impl PartialEq<(u128, f32)> for Complex[src]

impl PartialEq<(u128, f64)> for Complex[src]

impl PartialEq<(u128, i128)> for Complex[src]

impl PartialEq<(u128, i16)> for Complex[src]

impl PartialEq<(u128, i32)> for Complex[src]

impl PartialEq<(u128, i64)> for Complex[src]

impl PartialEq<(u128, i8)> for Complex[src]

impl PartialEq<(u128, isize)> for Complex[src]

impl PartialEq<(u128, u128)> for Complex[src]

impl PartialEq<(u128, u16)> for Complex[src]

impl PartialEq<(u128, u32)> for Complex[src]

impl PartialEq<(u128, u64)> for Complex[src]

impl PartialEq<(u128, u8)> for Complex[src]

impl PartialEq<(u128, usize)> for Complex[src]

impl PartialEq<(u16, Float)> for Complex[src]

impl PartialEq<(u16, Integer)> for Complex[src]

impl PartialEq<(u16, Rational)> for Complex[src]

impl PartialEq<(u16, Special)> for Complex[src]

impl PartialEq<(u16, f32)> for Complex[src]

impl PartialEq<(u16, f64)> for Complex[src]

impl PartialEq<(u16, i128)> for Complex[src]

impl PartialEq<(u16, i16)> for Complex[src]

impl PartialEq<(u16, i32)> for Complex[src]

impl PartialEq<(u16, i64)> for Complex[src]

impl PartialEq<(u16, i8)> for Complex[src]

impl PartialEq<(u16, isize)> for Complex[src]

impl PartialEq<(u16, u128)> for Complex[src]

impl PartialEq<(u16, u16)> for Complex[src]

impl PartialEq<(u16, u32)> for Complex[src]

impl PartialEq<(u16, u64)> for Complex[src]

impl PartialEq<(u16, u8)> for Complex[src]

impl PartialEq<(u16, usize)> for Complex[src]

impl PartialEq<(u32, Float)> for Complex[src]

impl PartialEq<(u32, Integer)> for Complex[src]

impl PartialEq<(u32, Rational)> for Complex[src]

impl PartialEq<(u32, Special)> for Complex[src]

impl PartialEq<(u32, f32)> for Complex[src]

impl PartialEq<(u32, f64)> for Complex[src]

impl PartialEq<(u32, i128)> for Complex[src]

impl PartialEq<(u32, i16)> for Complex[src]

impl PartialEq<(u32, i32)> for Complex[src]

impl PartialEq<(u32, i64)> for Complex[src]

impl PartialEq<(u32, i8)> for Complex[src]

impl PartialEq<(u32, isize)> for Complex[src]

impl PartialEq<(u32, u128)> for Complex[src]

impl PartialEq<(u32, u16)> for Complex[src]

impl PartialEq<(u32, u32)> for Complex[src]

impl PartialEq<(u32, u64)> for Complex[src]

impl PartialEq<(u32, u8)> for Complex[src]

impl PartialEq<(u32, usize)> for Complex[src]

impl PartialEq<(u64, Float)> for Complex[src]

impl PartialEq<(u64, Integer)> for Complex[src]

impl PartialEq<(u64, Rational)> for Complex[src]

impl PartialEq<(u64, Special)> for Complex[src]

impl PartialEq<(u64, f32)> for Complex[src]

impl PartialEq<(u64, f64)> for Complex[src]

impl PartialEq<(u64, i128)> for Complex[src]

impl PartialEq<(u64, i16)> for Complex[src]

impl PartialEq<(u64, i32)> for Complex[src]

impl PartialEq<(u64, i64)> for Complex[src]

impl PartialEq<(u64, i8)> for Complex[src]

impl PartialEq<(u64, isize)> for Complex[src]

impl PartialEq<(u64, u128)> for Complex[src]

impl PartialEq<(u64, u16)> for Complex[src]

impl PartialEq<(u64, u32)> for Complex[src]

impl PartialEq<(u64, u64)> for Complex[src]

impl PartialEq<(u64, u8)> for Complex[src]

impl PartialEq<(u64, usize)> for Complex[src]

impl PartialEq<(u8, Float)> for Complex[src]

impl PartialEq<(u8, Integer)> for Complex[src]

impl PartialEq<(u8, Rational)> for Complex[src]

impl PartialEq<(u8, Special)> for Complex[src]

impl PartialEq<(u8, f32)> for Complex[src]

impl PartialEq<(u8, f64)> for Complex[src]

impl PartialEq<(u8, i128)> for Complex[src]

impl PartialEq<(u8, i16)> for Complex[src]

impl PartialEq<(u8, i32)> for Complex[src]

impl PartialEq<(u8, i64)> for Complex[src]

impl PartialEq<(u8, i8)> for Complex[src]

impl PartialEq<(u8, isize)> for Complex[src]

impl PartialEq<(u8, u128)> for Complex[src]

impl PartialEq<(u8, u16)> for Complex[src]

impl PartialEq<(u8, u32)> for Complex[src]

impl PartialEq<(u8, u64)> for Complex[src]

impl PartialEq<(u8, u8)> for Complex[src]

impl PartialEq<(u8, usize)> for Complex[src]

impl PartialEq<(usize, Float)> for Complex[src]

impl PartialEq<(usize, Integer)> for Complex[src]

impl PartialEq<(usize, Rational)> for Complex[src]

impl PartialEq<(usize, Special)> for Complex[src]

impl PartialEq<(usize, f32)> for Complex[src]

impl PartialEq<(usize, f64)> for Complex[src]

impl PartialEq<(usize, i128)> for Complex[src]

impl PartialEq<(usize, i16)> for Complex[src]

impl PartialEq<(usize, i32)> for Complex[src]

impl PartialEq<(usize, i64)> for Complex[src]

impl PartialEq<(usize, i8)> for Complex[src]

impl PartialEq<(usize, isize)> for Complex[src]

impl PartialEq<(usize, u128)> for Complex[src]

impl PartialEq<(usize, u16)> for Complex[src]

impl PartialEq<(usize, u32)> for Complex[src]

impl PartialEq<(usize, u64)> for Complex[src]

impl PartialEq<(usize, u8)> for Complex[src]

impl PartialEq<(usize, usize)> for Complex[src]

impl PartialEq<Complex> for Complex[src]

impl PartialEq<Complex> for Integer[src]

impl PartialEq<Complex> for (Integer, i128)[src]

impl PartialEq<Complex> for (i16, Special)[src]

impl PartialEq<Complex> for (i16, i8)[src]

impl PartialEq<Complex> for (i16, i16)[src]

impl PartialEq<Complex> for (i16, i32)[src]

impl PartialEq<Complex> for (i16, i64)[src]

impl PartialEq<Complex> for (i16, i128)[src]

impl PartialEq<Complex> for (i16, isize)[src]

impl PartialEq<Complex> for (i16, u8)[src]

impl PartialEq<Complex> for (i16, u16)[src]

impl PartialEq<Complex> for (i16, u32)[src]

impl PartialEq<Complex> for (Integer, isize)[src]

impl PartialEq<Complex> for (i16, u64)[src]

impl PartialEq<Complex> for (i16, u128)[src]

impl PartialEq<Complex> for (i16, usize)[src]

impl PartialEq<Complex> for (i16, f32)[src]

impl PartialEq<Complex> for (i16, f64)[src]

impl PartialEq<Complex> for i32[src]

impl PartialEq<Complex> for (i32, Integer)[src]

impl PartialEq<Complex> for (i32, Rational)[src]

impl PartialEq<Complex> for (i32, Float)[src]

impl PartialEq<Complex> for (i32, Special)[src]

impl PartialEq<Complex> for (Integer, u8)[src]

impl PartialEq<Complex> for (i32, i8)[src]

impl PartialEq<Complex> for (i32, i16)[src]

impl PartialEq<Complex> for (i32, i32)[src]

impl PartialEq<Complex> for (i32, i64)[src]

impl PartialEq<Complex> for (i32, i128)[src]

impl PartialEq<Complex> for (i32, isize)[src]

impl PartialEq<Complex> for (i32, u8)[src]

impl PartialEq<Complex> for (i32, u16)[src]

impl PartialEq<Complex> for (i32, u32)[src]

impl PartialEq<Complex> for (i32, u64)[src]

impl PartialEq<Complex> for (Integer, u16)[src]

impl PartialEq<Complex> for (i32, u128)[src]

impl PartialEq<Complex> for (i32, usize)[src]

impl PartialEq<Complex> for (i32, f32)[src]

impl PartialEq<Complex> for (i32, f64)[src]

impl PartialEq<Complex> for i64[src]

impl PartialEq<Complex> for (i64, Integer)[src]

impl PartialEq<Complex> for (i64, Rational)[src]

impl PartialEq<Complex> for (i64, Float)[src]

impl PartialEq<Complex> for (i64, Special)[src]

impl PartialEq<Complex> for (i64, i8)[src]

impl PartialEq<Complex> for (Integer, u32)[src]

impl PartialEq<Complex> for (i64, i16)[src]

impl PartialEq<Complex> for (i64, i32)[src]

impl PartialEq<Complex> for (i64, i64)[src]

impl PartialEq<Complex> for (i64, i128)[src]

impl PartialEq<Complex> for (i64, isize)[src]

impl PartialEq<Complex> for (i64, u8)[src]

impl PartialEq<Complex> for (i64, u16)[src]

impl PartialEq<Complex> for (i64, u32)[src]

impl PartialEq<Complex> for (i64, u64)[src]

impl PartialEq<Complex> for (i64, u128)[src]

impl PartialEq<Complex> for (Integer, u64)[src]

impl PartialEq<Complex> for (i64, usize)[src]

impl PartialEq<Complex> for (i64, f32)[src]

impl PartialEq<Complex> for (i64, f64)[src]

impl PartialEq<Complex> for i128[src]

impl PartialEq<Complex> for (i128, Integer)[src]

impl PartialEq<Complex> for (i128, Rational)[src]

impl PartialEq<Complex> for (i128, Float)[src]

impl PartialEq<Complex> for (i128, Special)[src]

impl PartialEq<Complex> for (i128, i8)[src]

impl PartialEq<Complex> for (i128, i16)[src]

impl PartialEq<Complex> for (Integer, u128)[src]

impl PartialEq<Complex> for (i128, i32)[src]

impl PartialEq<Complex> for (i128, i64)[src]

impl PartialEq<Complex> for (i128, i128)[src]

impl PartialEq<Complex> for (i128, isize)[src]

impl PartialEq<Complex> for (i128, u8)[src]

impl PartialEq<Complex> for (i128, u16)[src]

impl PartialEq<Complex> for (i128, u32)[src]

impl PartialEq<Complex> for (i128, u64)[src]

impl PartialEq<Complex> for (i128, u128)[src]

impl PartialEq<Complex> for (i128, usize)[src]

impl PartialEq<Complex> for (Integer, usize)[src]

impl PartialEq<Complex> for (i128, f32)[src]

impl PartialEq<Complex> for (i128, f64)[src]

impl PartialEq<Complex> for isize[src]

impl PartialEq<Complex> for (isize, Integer)[src]

impl PartialEq<Complex> for (isize, Rational)[src]

impl PartialEq<Complex> for (isize, Float)[src]

impl PartialEq<Complex> for (isize, Special)[src]

impl PartialEq<Complex> for (isize, i8)[src]

impl PartialEq<Complex> for (isize, i16)[src]

impl PartialEq<Complex> for (isize, i32)[src]

impl PartialEq<Complex> for (Integer, f32)[src]

impl PartialEq<Complex> for (isize, i64)[src]

impl PartialEq<Complex> for (isize, i128)[src]

impl PartialEq<Complex> for (isize, isize)[src]

impl PartialEq<Complex> for (isize, u8)[src]

impl PartialEq<Complex> for (isize, u16)[src]

impl PartialEq<Complex> for (isize, u32)[src]

impl PartialEq<Complex> for (isize, u64)[src]

impl PartialEq<Complex> for (isize, u128)[src]

impl PartialEq<Complex> for (isize, usize)[src]

impl PartialEq<Complex> for (isize, f32)[src]

impl PartialEq<Complex> for (Integer, f64)[src]

impl PartialEq<Complex> for (isize, f64)[src]

impl PartialEq<Complex> for u8[src]

impl PartialEq<Complex> for (u8, Integer)[src]

impl PartialEq<Complex> for (u8, Rational)[src]

impl PartialEq<Complex> for (u8, Float)[src]

impl PartialEq<Complex> for (u8, Special)[src]

impl PartialEq<Complex> for (u8, i8)[src]

impl PartialEq<Complex> for (u8, i16)[src]

impl PartialEq<Complex> for (u8, i32)[src]

impl PartialEq<Complex> for (u8, i64)[src]

impl PartialEq<Complex> for (Integer, Integer)[src]

impl PartialEq<Complex> for Rational[src]

impl PartialEq<Complex> for (u8, i128)[src]

impl PartialEq<Complex> for (u8, isize)[src]

impl PartialEq<Complex> for (u8, u8)[src]

impl PartialEq<Complex> for (u8, u16)[src]

impl PartialEq<Complex> for (u8, u32)[src]

impl PartialEq<Complex> for (u8, u64)[src]

impl PartialEq<Complex> for (u8, u128)[src]

impl PartialEq<Complex> for (u8, usize)[src]

impl PartialEq<Complex> for (u8, f32)[src]

impl PartialEq<Complex> for (u8, f64)[src]

impl PartialEq<Complex> for (Rational, Integer)[src]

impl PartialEq<Complex> for u16[src]

impl PartialEq<Complex> for (u16, Integer)[src]

impl PartialEq<Complex> for (u16, Rational)[src]

impl PartialEq<Complex> for (u16, Float)[src]

impl PartialEq<Complex> for (u16, Special)[src]

impl PartialEq<Complex> for (u16, i8)[src]

impl PartialEq<Complex> for (u16, i16)[src]

impl PartialEq<Complex> for (u16, i32)[src]

impl PartialEq<Complex> for (u16, i64)[src]

impl PartialEq<Complex> for (u16, i128)[src]

impl PartialEq<Complex> for (Rational, Rational)[src]

impl PartialEq<Complex> for (u16, isize)[src]

impl PartialEq<Complex> for (u16, u8)[src]

impl PartialEq<Complex> for (u16, u16)[src]

impl PartialEq<Complex> for (u16, u32)[src]

impl PartialEq<Complex> for (u16, u64)[src]

impl PartialEq<Complex> for (u16, u128)[src]

impl PartialEq<Complex> for (u16, usize)[src]

impl PartialEq<Complex> for (u16, f32)[src]

impl PartialEq<Complex> for (u16, f64)[src]

impl PartialEq<Complex> for u32[src]

impl PartialEq<Complex> for (Rational, Float)[src]

impl PartialEq<Complex> for (u32, Integer)[src]

impl PartialEq<Complex> for (u32, Rational)[src]

impl PartialEq<Complex> for (u32, Float)[src]

impl PartialEq<Complex> for (u32, Special)[src]

impl PartialEq<Complex> for (u32, i8)[src]

impl PartialEq<Complex> for (u32, i16)[src]

impl PartialEq<Complex> for (u32, i32)[src]

impl PartialEq<Complex> for (u32, i64)[src]

impl PartialEq<Complex> for (u32, i128)[src]

impl PartialEq<Complex> for (u32, isize)[src]

impl PartialEq<Complex> for (Rational, Special)[src]

impl PartialEq<Complex> for (u32, u8)[src]

impl PartialEq<Complex> for (u32, u16)[src]

impl PartialEq<Complex> for (u32, u32)[src]

impl PartialEq<Complex> for (u32, u64)[src]

impl PartialEq<Complex> for (u32, u128)[src]

impl PartialEq<Complex> for (u32, usize)[src]

impl PartialEq<Complex> for (u32, f32)[src]

impl PartialEq<Complex> for (u32, f64)[src]

impl PartialEq<Complex> for u64[src]

impl PartialEq<Complex> for (u64, Integer)[src]

impl PartialEq<Complex> for (Rational, i8)[src]

impl PartialEq<Complex> for (u64, Rational)[src]

impl PartialEq<Complex> for (u64, Float)[src]

impl PartialEq<Complex> for (u64, Special)[src]

impl PartialEq<Complex> for (u64, i8)[src]

impl PartialEq<Complex> for (u64, i16)[src]

impl PartialEq<Complex> for (u64, i32)[src]

impl PartialEq<Complex> for (u64, i64)[src]

impl PartialEq<Complex> for (u64, i128)[src]

impl PartialEq<Complex> for (u64, isize)[src]

impl PartialEq<Complex> for (u64, u8)[src]

impl PartialEq<Complex> for (Rational, i16)[src]

impl PartialEq<Complex> for (u64, u16)[src]

impl PartialEq<Complex> for (u64, u32)[src]

impl PartialEq<Complex> for (u64, u64)[src]

impl PartialEq<Complex> for (u64, u128)[src]

impl PartialEq<Complex> for (u64, usize)[src]

impl PartialEq<Complex> for (u64, f32)[src]

impl PartialEq<Complex> for (u64, f64)[src]

impl PartialEq<Complex> for u128[src]

impl PartialEq<Complex> for (u128, Integer)[src]

impl PartialEq<Complex> for (u128, Rational)[src]

impl PartialEq<Complex> for (Rational, i32)[src]

impl PartialEq<Complex> for (u128, Float)[src]

impl PartialEq<Complex> for (u128, Special)[src]

impl PartialEq<Complex> for (u128, i8)[src]

impl PartialEq<Complex> for (u128, i16)[src]

impl PartialEq<Complex> for (u128, i32)[src]

impl PartialEq<Complex> for (u128, i64)[src]

impl PartialEq<Complex> for (u128, i128)[src]

impl PartialEq<Complex> for (u128, isize)[src]

impl PartialEq<Complex> for (u128, u8)[src]

impl PartialEq<Complex> for (u128, u16)[src]

impl PartialEq<Complex> for (Rational, i64)[src]

impl PartialEq<Complex> for (u128, u32)[src]

impl PartialEq<Complex> for (u128, u64)[src]

impl PartialEq<Complex> for (u128, u128)[src]

impl PartialEq<Complex> for (u128, usize)[src]

impl PartialEq<Complex> for (u128, f32)[src]

impl PartialEq<Complex> for (u128, f64)[src]

impl PartialEq<Complex> for usize[src]

impl PartialEq<Complex> for (usize, Integer)[src]

impl PartialEq<Complex> for (usize, Rational)[src]

impl PartialEq<Complex> for (usize, Float)[src]

impl PartialEq<Complex> for (Rational, i128)[src]

impl PartialEq<Complex> for (usize, Special)[src]

impl PartialEq<Complex> for (usize, i8)[src]

impl PartialEq<Complex> for (usize, i16)[src]

impl PartialEq<Complex> for (usize, i32)[src]

impl PartialEq<Complex> for (usize, i64)[src]

impl PartialEq<Complex> for (usize, i128)[src]

impl PartialEq<Complex> for (usize, isize)[src]

impl PartialEq<Complex> for (usize, u8)[src]

impl PartialEq<Complex> for (usize, u16)[src]

impl PartialEq<Complex> for (usize, u32)[src]

impl PartialEq<Complex> for (Integer, Rational)[src]

impl PartialEq<Complex> for (Rational, isize)[src]

impl PartialEq<Complex> for (usize, u64)[src]

impl PartialEq<Complex> for (usize, u128)[src]

impl PartialEq<Complex> for (usize, usize)[src]

impl PartialEq<Complex> for (usize, f32)[src]

impl PartialEq<Complex> for (usize, f64)[src]

impl PartialEq<Complex> for f32[src]

impl PartialEq<Complex> for (f32, Integer)[src]

impl PartialEq<Complex> for (f32, Rational)[src]

impl PartialEq<Complex> for (f32, Float)[src]

impl PartialEq<Complex> for (f32, Special)[src]

impl PartialEq<Complex> for (Rational, u8)[src]

impl PartialEq<Complex> for (f32, i8)[src]

impl PartialEq<Complex> for (f32, i16)[src]

impl PartialEq<Complex> for (f32, i32)[src]

impl PartialEq<Complex> for (f32, i64)[src]

impl PartialEq<Complex> for (f32, i128)[src]

impl PartialEq<Complex> for (f32, isize)[src]

impl PartialEq<Complex> for (f32, u8)[src]

impl PartialEq<Complex> for (f32, u16)[src]

impl PartialEq<Complex> for (f32, u32)[src]

impl PartialEq<Complex> for (f32, u64)[src]

impl PartialEq<Complex> for (Rational, u16)[src]

impl PartialEq<Complex> for (f32, u128)[src]

impl PartialEq<Complex> for (f32, usize)[src]

impl PartialEq<Complex> for (f32, f32)[src]

impl PartialEq<Complex> for (f32, f64)[src]

impl PartialEq<Complex> for f64[src]

impl PartialEq<Complex> for (f64, Integer)[src]

impl PartialEq<Complex> for (f64, Rational)[src]

impl PartialEq<Complex> for (f64, Float)[src]

impl PartialEq<Complex> for (f64, Special)[src]

impl PartialEq<Complex> for (f64, i8)[src]

impl PartialEq<Complex> for (Rational, u32)[src]

impl PartialEq<Complex> for (f64, i16)[src]

impl PartialEq<Complex> for (f64, i32)[src]

impl PartialEq<Complex> for (f64, i64)[src]

impl PartialEq<Complex> for (f64, i128)[src]

impl PartialEq<Complex> for (f64, isize)[src]

impl PartialEq<Complex> for (f64, u8)[src]

impl PartialEq<Complex> for (f64, u16)[src]

impl PartialEq<Complex> for (f64, u32)[src]

impl PartialEq<Complex> for (f64, u64)[src]

impl PartialEq<Complex> for (f64, u128)[src]

impl PartialEq<Complex> for (Rational, u64)[src]

impl PartialEq<Complex> for (f64, usize)[src]

impl PartialEq<Complex> for (f64, f32)[src]

impl PartialEq<Complex> for (f64, f64)[src]

impl PartialEq<Complex> for (Rational, u128)[src]

impl PartialEq<Complex> for (Rational, usize)[src]

impl PartialEq<Complex> for (Rational, f32)[src]

impl PartialEq<Complex> for (Rational, f64)[src]

impl PartialEq<Complex> for Float[src]

impl PartialEq<Complex> for (Integer, Float)[src]

impl PartialEq<Complex> for (Float, Integer)[src]

impl PartialEq<Complex> for (Float, Rational)[src]

impl PartialEq<Complex> for (Float, Float)[src]

impl PartialEq<Complex> for (Float, Special)[src]

impl PartialEq<Complex> for (Float, i8)[src]

impl PartialEq<Complex> for (Float, i16)[src]

impl PartialEq<Complex> for (Float, i32)[src]

impl PartialEq<Complex> for (Float, i64)[src]

impl PartialEq<Complex> for (Float, i128)[src]

impl PartialEq<Complex> for (Float, isize)[src]

impl PartialEq<Complex> for (Integer, Special)[src]

impl PartialEq<Complex> for (Float, u8)[src]

impl PartialEq<Complex> for (Float, u16)[src]

impl PartialEq<Complex> for (Float, u32)[src]

impl PartialEq<Complex> for (Float, u64)[src]

impl PartialEq<Complex> for (Float, u128)[src]

impl PartialEq<Complex> for (Float, usize)[src]

impl PartialEq<Complex> for (Float, f32)[src]

impl PartialEq<Complex> for (Float, f64)[src]

impl PartialEq<Complex> for Special[src]

impl PartialEq<Complex> for (Special, Integer)[src]

impl PartialEq<Complex> for (Integer, i8)[src]

impl PartialEq<Complex> for (Special, Rational)[src]

impl PartialEq<Complex> for (Special, Float)[src]

impl PartialEq<Complex> for (Special, Special)[src]

impl PartialEq<Complex> for (Special, i8)[src]

impl PartialEq<Complex> for (Special, i16)[src]

impl PartialEq<Complex> for (Special, i32)[src]

impl PartialEq<Complex> for (Special, i64)[src]

impl PartialEq<Complex> for (Special, i128)[src]

impl PartialEq<Complex> for (Special, isize)[src]

impl PartialEq<Complex> for (Special, u8)[src]

impl PartialEq<Complex> for (Integer, i16)[src]

impl PartialEq<Complex> for (Special, u16)[src]

impl PartialEq<Complex> for (Special, u32)[src]

impl PartialEq<Complex> for (Special, u64)[src]

impl PartialEq<Complex> for (Special, u128)[src]

impl PartialEq<Complex> for (Special, usize)[src]

impl PartialEq<Complex> for (Special, f32)[src]

impl PartialEq<Complex> for (Special, f64)[src]

impl PartialEq<Complex> for i8[src]

impl PartialEq<Complex> for (i8, Integer)[src]

impl PartialEq<Complex> for (i8, Rational)[src]

impl PartialEq<Complex> for (Integer, i32)[src]

impl PartialEq<Complex> for (i8, Float)[src]

impl PartialEq<Complex> for (i8, Special)[src]

impl PartialEq<Complex> for (i8, i8)[src]

impl PartialEq<Complex> for (i8, i16)[src]

impl PartialEq<Complex> for (i8, i32)[src]

impl PartialEq<Complex> for (i8, i64)[src]

impl PartialEq<Complex> for (i8, i128)[src]

impl PartialEq<Complex> for (i8, isize)[src]

impl PartialEq<Complex> for (i8, u8)[src]

impl PartialEq<Complex> for (i8, u16)[src]

impl PartialEq<Complex> for (Integer, i64)[src]

impl PartialEq<Complex> for (i8, u32)[src]

impl PartialEq<Complex> for (i8, u64)[src]

impl PartialEq<Complex> for (i8, u128)[src]

impl PartialEq<Complex> for (i8, usize)[src]

impl PartialEq<Complex> for (i8, f32)[src]

impl PartialEq<Complex> for (i8, f64)[src]

impl PartialEq<Complex> for i16[src]

impl PartialEq<Complex> for (i16, Integer)[src]

impl PartialEq<Complex> for (i16, Rational)[src]

impl PartialEq<Complex> for (i16, Float)[src]

impl PartialEq<Float> for Complex[src]

impl PartialEq<Integer> for Complex[src]

impl PartialEq<Rational> for Complex[src]

impl PartialEq<Special> for Complex[src]

impl PartialEq<f32> for Complex[src]

impl PartialEq<f64> for Complex[src]

impl PartialEq<i128> for Complex[src]

impl PartialEq<i16> for Complex[src]

impl PartialEq<i32> for Complex[src]

impl PartialEq<i64> for Complex[src]

impl PartialEq<i8> for Complex[src]

impl PartialEq<isize> for Complex[src]

impl PartialEq<u128> for Complex[src]

impl PartialEq<u16> for Complex[src]

impl PartialEq<u32> for Complex[src]

impl PartialEq<u64> for Complex[src]

impl PartialEq<u8> for Complex[src]

impl PartialEq<usize> for Complex[src]

impl<'_> Pow<&'_ Complex> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'_> Pow<&'_ Float> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'_> Pow<&'_ Integer> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'_> Pow<&'_ f32> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'b, '_> Pow<&'_ f32> for &'b Complex[src]

type Output = PowF32Incomplete<'b>

The resulting type after the power operation.

impl<'_> Pow<&'_ f64> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'b, '_> Pow<&'_ f64> for &'b Complex[src]

type Output = PowF64Incomplete<'b>

The resulting type after the power operation.

impl<'_> Pow<&'_ i128> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'b, '_> Pow<&'_ i128> for &'b Complex[src]

type Output = PowI128Incomplete<'b>

The resulting type after the power operation.

impl<'_> Pow<&'_ i16> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'b, '_> Pow<&'_ i16> for &'b Complex[src]

type Output = PowI16Incomplete<'b>

The resulting type after the power operation.

impl<'_> Pow<&'_ i32> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'b, '_> Pow<&'_ i32> for &'b Complex[src]

type Output = PowI32Incomplete<'b>

The resulting type after the power operation.

impl<'_> Pow<&'_ i64> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'b, '_> Pow<&'_ i64> for &'b Complex[src]

type Output = PowI64Incomplete<'b>

The resulting type after the power operation.

impl<'_> Pow<&'_ i8> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'b, '_> Pow<&'_ i8> for &'b Complex[src]

type Output = PowI8Incomplete<'b>

The resulting type after the power operation.

impl<'_> Pow<&'_ u128> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'b, '_> Pow<&'_ u128> for &'b Complex[src]

type Output = PowU128Incomplete<'b>

The resulting type after the power operation.

impl<'_> Pow<&'_ u16> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'b, '_> Pow<&'_ u16> for &'b Complex[src]

type Output = PowU16Incomplete<'b>

The resulting type after the power operation.

impl<'_> Pow<&'_ u32> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'b, '_> Pow<&'_ u32> for &'b Complex[src]

type Output = PowU32Incomplete<'b>

The resulting type after the power operation.

impl<'_> Pow<&'_ u64> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'b, '_> Pow<&'_ u64> for &'b Complex[src]

type Output = PowU64Incomplete<'b>

The resulting type after the power operation.

impl<'_> Pow<&'_ u8> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'b, '_> Pow<&'_ u8> for &'b Complex[src]

type Output = PowU8Incomplete<'b>

The resulting type after the power operation.

impl<'a> Pow<&'a Complex> for &'a Complex[src]

type Output = PowIncomplete<'a>

The resulting type after the power operation.

impl<'a> Pow<&'a Float> for &'a Complex[src]

type Output = PowFloatIncomplete<'a>

The resulting type after the power operation.

impl<'a> Pow<&'a Integer> for &'a Complex[src]

type Output = PowIntegerIncomplete<'a>

The resulting type after the power operation.

impl<'b> Pow<&'b Complex> for i8[src]

type Output = PowFromI8Incomplete<'b>

The resulting type after the power operation.

impl<'b, '_> Pow<&'b Complex> for &'_ i8[src]

type Output = PowFromI8Incomplete<'b>

The resulting type after the power operation.

impl<'b> Pow<&'b Complex> for u8[src]

type Output = PowFromU8Incomplete<'b>

The resulting type after the power operation.

impl<'b, '_> Pow<&'b Complex> for &'_ u8[src]

type Output = PowFromU8Incomplete<'b>

The resulting type after the power operation.

impl<'b> Pow<&'b Complex> for u16[src]

type Output = PowFromU16Incomplete<'b>

The resulting type after the power operation.

impl<'b, '_> Pow<&'b Complex> for &'_ u16[src]

type Output = PowFromU16Incomplete<'b>

The resulting type after the power operation.

impl<'b> Pow<&'b Complex> for u32[src]

type Output = PowFromU32Incomplete<'b>

The resulting type after the power operation.

impl<'b, '_> Pow<&'b Complex> for &'_ u32[src]

type Output = PowFromU32Incomplete<'b>

The resulting type after the power operation.

impl<'b> Pow<&'b Complex> for u64[src]

type Output = PowFromU64Incomplete<'b>

The resulting type after the power operation.

impl<'b, '_> Pow<&'b Complex> for &'_ u64[src]

type Output = PowFromU64Incomplete<'b>

The resulting type after the power operation.

impl<'b> Pow<&'b Complex> for u128[src]

type Output = PowFromU128Incomplete<'b>

The resulting type after the power operation.

impl<'b, '_> Pow<&'b Complex> for &'_ u128[src]

type Output = PowFromU128Incomplete<'b>

The resulting type after the power operation.

impl<'b> Pow<&'b Complex> for i16[src]

type Output = PowFromI16Incomplete<'b>

The resulting type after the power operation.

impl<'b> Pow<&'b Complex> for f32[src]

type Output = PowFromF32Incomplete<'b>

The resulting type after the power operation.

impl<'b, '_> Pow<&'b Complex> for &'_ f32[src]

type Output = PowFromF32Incomplete<'b>

The resulting type after the power operation.

impl<'b> Pow<&'b Complex> for f64[src]

type Output = PowFromF64Incomplete<'b>

The resulting type after the power operation.

impl<'b, '_> Pow<&'b Complex> for &'_ f64[src]

type Output = PowFromF64Incomplete<'b>

The resulting type after the power operation.

impl<'b, '_> Pow<&'b Complex> for &'_ i16[src]

type Output = PowFromI16Incomplete<'b>

The resulting type after the power operation.

impl<'b> Pow<&'b Complex> for i32[src]

type Output = PowFromI32Incomplete<'b>

The resulting type after the power operation.

impl<'b, '_> Pow<&'b Complex> for &'_ i32[src]

type Output = PowFromI32Incomplete<'b>

The resulting type after the power operation.

impl<'b> Pow<&'b Complex> for i64[src]

type Output = PowFromI64Incomplete<'b>

The resulting type after the power operation.

impl<'b, '_> Pow<&'b Complex> for &'_ i64[src]

type Output = PowFromI64Incomplete<'b>

The resulting type after the power operation.

impl<'b> Pow<&'b Complex> for i128[src]

type Output = PowFromI128Incomplete<'b>

The resulting type after the power operation.

impl<'b, '_> Pow<&'b Complex> for &'_ i128[src]

type Output = PowFromI128Incomplete<'b>

The resulting type after the power operation.

impl Pow<Complex> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'_> Pow<Complex> for &'_ Complex[src]

type Output = Complex

The resulting type after the power operation.

impl Pow<Complex> for i128[src]

type Output = Complex

The resulting type after the power operation.

impl<'_> Pow<Complex> for &'_ i128[src]

type Output = Complex

The resulting type after the power operation.

impl Pow<Complex> for u8[src]

type Output = Complex

The resulting type after the power operation.

impl<'_> Pow<Complex> for &'_ u8[src]

type Output = Complex

The resulting type after the power operation.

impl Pow<Complex> for u16[src]

type Output = Complex

The resulting type after the power operation.

impl<'_> Pow<Complex> for &'_ u16[src]

type Output = Complex

The resulting type after the power operation.

impl Pow<Complex> for u32[src]

type Output = Complex

The resulting type after the power operation.

impl<'_> Pow<Complex> for &'_ u32[src]

type Output = Complex

The resulting type after the power operation.

impl Pow<Complex> for u64[src]

type Output = Complex

The resulting type after the power operation.

impl<'_> Pow<Complex> for &'_ u64[src]

type Output = Complex

The resulting type after the power operation.

impl Pow<Complex> for i8[src]

type Output = Complex

The resulting type after the power operation.

impl Pow<Complex> for u128[src]

type Output = Complex

The resulting type after the power operation.

impl<'_> Pow<Complex> for &'_ u128[src]

type Output = Complex

The resulting type after the power operation.

impl Pow<Complex> for f32[src]

type Output = Complex

The resulting type after the power operation.

impl<'_> Pow<Complex> for &'_ f32[src]

type Output = Complex

The resulting type after the power operation.

impl Pow<Complex> for f64[src]

type Output = Complex

The resulting type after the power operation.

impl<'_> Pow<Complex> for &'_ f64[src]

type Output = Complex

The resulting type after the power operation.

impl<'_> Pow<Complex> for &'_ i8[src]

type Output = Complex

The resulting type after the power operation.

impl Pow<Complex> for i16[src]

type Output = Complex

The resulting type after the power operation.

impl<'_> Pow<Complex> for &'_ i16[src]

type Output = Complex

The resulting type after the power operation.

impl Pow<Complex> for i32[src]

type Output = Complex

The resulting type after the power operation.

impl<'_> Pow<Complex> for &'_ i32[src]

type Output = Complex

The resulting type after the power operation.

impl Pow<Complex> for i64[src]

type Output = Complex

The resulting type after the power operation.

impl<'_> Pow<Complex> for &'_ i64[src]

type Output = Complex

The resulting type after the power operation.

impl Pow<Float> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'a> Pow<Float> for &'a Complex[src]

type Output = PowOwnedFloatIncomplete<'a>

The resulting type after the power operation.

impl Pow<Integer> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'a> Pow<Integer> for &'a Complex[src]

type Output = PowOwnedIntegerIncomplete<'a>

The resulting type after the power operation.

impl Pow<f32> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'b> Pow<f32> for &'b Complex[src]

type Output = PowF32Incomplete<'b>

The resulting type after the power operation.

impl Pow<f64> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'b> Pow<f64> for &'b Complex[src]

type Output = PowF64Incomplete<'b>

The resulting type after the power operation.

impl Pow<i128> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'b> Pow<i128> for &'b Complex[src]

type Output = PowI128Incomplete<'b>

The resulting type after the power operation.

impl Pow<i16> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'b> Pow<i16> for &'b Complex[src]

type Output = PowI16Incomplete<'b>

The resulting type after the power operation.

impl Pow<i32> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'b> Pow<i32> for &'b Complex[src]

type Output = PowI32Incomplete<'b>

The resulting type after the power operation.

impl Pow<i64> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'b> Pow<i64> for &'b Complex[src]

type Output = PowI64Incomplete<'b>

The resulting type after the power operation.

impl Pow<i8> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'b> Pow<i8> for &'b Complex[src]

type Output = PowI8Incomplete<'b>

The resulting type after the power operation.

impl Pow<u128> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'b> Pow<u128> for &'b Complex[src]

type Output = PowU128Incomplete<'b>

The resulting type after the power operation.

impl Pow<u16> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'b> Pow<u16> for &'b Complex[src]

type Output = PowU16Incomplete<'b>

The resulting type after the power operation.

impl Pow<u32> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'b> Pow<u32> for &'b Complex[src]

type Output = PowU32Incomplete<'b>

The resulting type after the power operation.

impl Pow<u64> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'b> Pow<u64> for &'b Complex[src]

type Output = PowU64Incomplete<'b>

The resulting type after the power operation.

impl Pow<u8> for Complex[src]

type Output = Complex

The resulting type after the power operation.

impl<'b> Pow<u8> for &'b Complex[src]

type Output = PowU8Incomplete<'b>

The resulting type after the power operation.

impl<'_> PowAssign<&'_ Complex> for Complex[src]

impl<'_> PowAssign<&'_ Float> for Complex[src]

impl<'_> PowAssign<&'_ Integer> for Complex[src]

impl<'_> PowAssign<&'_ f32> for Complex[src]

impl<'_> PowAssign<&'_ f64> for Complex[src]

impl<'_> PowAssign<&'_ i128> for Complex[src]

impl<'_> PowAssign<&'_ i16> for Complex[src]

impl<'_> PowAssign<&'_ i32> for Complex[src]

impl<'_> PowAssign<&'_ i64> for Complex[src]

impl<'_> PowAssign<&'_ i8> for Complex[src]

impl<'_> PowAssign<&'_ u128> for Complex[src]

impl<'_> PowAssign<&'_ u16> for Complex[src]

impl<'_> PowAssign<&'_ u32> for Complex[src]

impl<'_> PowAssign<&'_ u64> for Complex[src]

impl<'_> PowAssign<&'_ u8> for Complex[src]

impl PowAssign<Complex> for Complex[src]

impl PowAssign<Float> for Complex[src]

impl PowAssign<Integer> for Complex[src]

impl PowAssign<f32> for Complex[src]

impl PowAssign<f64> for Complex[src]

impl PowAssign<i128> for Complex[src]

impl PowAssign<i16> for Complex[src]

impl PowAssign<i32> for Complex[src]

impl PowAssign<i64> for Complex[src]

impl PowAssign<i8> for Complex[src]

impl PowAssign<u128> for Complex[src]

impl PowAssign<u16> for Complex[src]

impl PowAssign<u32> for Complex[src]

impl PowAssign<u64> for Complex[src]

impl PowAssign<u8> for Complex[src]

impl<'_> PowAssignRound<&'_ Complex> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowAssignRound<&'_ Float> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowAssignRound<&'_ Integer> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowAssignRound<&'_ f32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowAssignRound<&'_ f64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowAssignRound<&'_ i128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowAssignRound<&'_ i16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowAssignRound<&'_ i32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowAssignRound<&'_ i64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowAssignRound<&'_ i8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowAssignRound<&'_ u128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowAssignRound<&'_ u16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowAssignRound<&'_ u32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowAssignRound<&'_ u64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowAssignRound<&'_ u8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowAssignRound<Complex> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowAssignRound<Float> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowAssignRound<Integer> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowAssignRound<f32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowAssignRound<f64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowAssignRound<i128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowAssignRound<i16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowAssignRound<i32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowAssignRound<i64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowAssignRound<i8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowAssignRound<u128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowAssignRound<u16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowAssignRound<u32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowAssignRound<u64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowAssignRound<u8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowFrom<&'_ Complex> for Complex[src]

impl<'_> PowFrom<&'_ f32> for Complex[src]

impl<'_> PowFrom<&'_ f64> for Complex[src]

impl<'_> PowFrom<&'_ i128> for Complex[src]

impl<'_> PowFrom<&'_ i16> for Complex[src]

impl<'_> PowFrom<&'_ i32> for Complex[src]

impl<'_> PowFrom<&'_ i64> for Complex[src]

impl<'_> PowFrom<&'_ i8> for Complex[src]

impl<'_> PowFrom<&'_ u128> for Complex[src]

impl<'_> PowFrom<&'_ u16> for Complex[src]

impl<'_> PowFrom<&'_ u32> for Complex[src]

impl<'_> PowFrom<&'_ u64> for Complex[src]

impl<'_> PowFrom<&'_ u8> for Complex[src]

impl PowFrom<Complex> for Complex[src]

impl PowFrom<f32> for Complex[src]

impl PowFrom<f64> for Complex[src]

impl PowFrom<i128> for Complex[src]

impl PowFrom<i16> for Complex[src]

impl PowFrom<i32> for Complex[src]

impl PowFrom<i64> for Complex[src]

impl PowFrom<i8> for Complex[src]

impl PowFrom<u128> for Complex[src]

impl PowFrom<u16> for Complex[src]

impl PowFrom<u32> for Complex[src]

impl PowFrom<u64> for Complex[src]

impl PowFrom<u8> for Complex[src]

impl<'_> PowFromRound<&'_ Complex> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowFromRound<&'_ f32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowFromRound<&'_ f64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowFromRound<&'_ i128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowFromRound<&'_ i16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowFromRound<&'_ i32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowFromRound<&'_ i64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowFromRound<&'_ i8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowFromRound<&'_ u128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowFromRound<&'_ u16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowFromRound<&'_ u32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowFromRound<&'_ u64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> PowFromRound<&'_ u8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowFromRound<Complex> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowFromRound<f32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowFromRound<f64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowFromRound<i128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowFromRound<i16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowFromRound<i32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowFromRound<i64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowFromRound<i8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowFromRound<u128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowFromRound<u16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowFromRound<u32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowFromRound<u64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl PowFromRound<u8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl Send for Complex[src]

impl Serialize for Complex[src]

impl<'_> Shl<&'_ i32> for Complex[src]

type Output = Complex

The resulting type after applying the << operator.

impl<'b, '_> Shl<&'_ i32> for &'b Complex[src]

type Output = ShlI32Incomplete<'b>

The resulting type after applying the << operator.

impl<'_> Shl<&'_ u32> for Complex[src]

type Output = Complex

The resulting type after applying the << operator.

impl<'b, '_> Shl<&'_ u32> for &'b Complex[src]

type Output = ShlU32Incomplete<'b>

The resulting type after applying the << operator.

impl Shl<i32> for Complex[src]

type Output = Complex

The resulting type after applying the << operator.

impl<'b> Shl<i32> for &'b Complex[src]

type Output = ShlI32Incomplete<'b>

The resulting type after applying the << operator.

impl Shl<u32> for Complex[src]

type Output = Complex

The resulting type after applying the << operator.

impl<'b> Shl<u32> for &'b Complex[src]

type Output = ShlU32Incomplete<'b>

The resulting type after applying the << operator.

impl<'_> ShlAssign<&'_ i32> for Complex[src]

impl<'_> ShlAssign<&'_ u32> for Complex[src]

impl ShlAssign<i32> for Complex[src]

impl ShlAssign<u32> for Complex[src]

impl<'_> Shr<&'_ i32> for Complex[src]

type Output = Complex

The resulting type after applying the >> operator.

impl<'b, '_> Shr<&'_ i32> for &'b Complex[src]

type Output = ShrI32Incomplete<'b>

The resulting type after applying the >> operator.

impl<'_> Shr<&'_ u32> for Complex[src]

type Output = Complex

The resulting type after applying the >> operator.

impl<'b, '_> Shr<&'_ u32> for &'b Complex[src]

type Output = ShrU32Incomplete<'b>

The resulting type after applying the >> operator.

impl Shr<i32> for Complex[src]

type Output = Complex

The resulting type after applying the >> operator.

impl<'b> Shr<i32> for &'b Complex[src]

type Output = ShrI32Incomplete<'b>

The resulting type after applying the >> operator.

impl Shr<u32> for Complex[src]

type Output = Complex

The resulting type after applying the >> operator.

impl<'b> Shr<u32> for &'b Complex[src]

type Output = ShrU32Incomplete<'b>

The resulting type after applying the >> operator.

impl<'_> ShrAssign<&'_ i32> for Complex[src]

impl<'_> ShrAssign<&'_ u32> for Complex[src]

impl ShrAssign<i32> for Complex[src]

impl ShrAssign<u32> for Complex[src]

impl<'_> Sub<&'_ Complex> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'_> Sub<&'_ Float> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'_> Sub<&'_ Integer> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'_> Sub<&'_ Rational> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'_> Sub<&'_ f32> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'b, '_> Sub<&'_ f32> for &'b Complex[src]

type Output = SubF32Incomplete<'b>

The resulting type after applying the - operator.

impl<'_> Sub<&'_ f64> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'b, '_> Sub<&'_ f64> for &'b Complex[src]

type Output = SubF64Incomplete<'b>

The resulting type after applying the - operator.

impl<'_> Sub<&'_ i128> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'b, '_> Sub<&'_ i128> for &'b Complex[src]

type Output = SubI128Incomplete<'b>

The resulting type after applying the - operator.

impl<'_> Sub<&'_ i16> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'b, '_> Sub<&'_ i16> for &'b Complex[src]

type Output = SubI16Incomplete<'b>

The resulting type after applying the - operator.

impl<'_> Sub<&'_ i32> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'b, '_> Sub<&'_ i32> for &'b Complex[src]

type Output = SubI32Incomplete<'b>

The resulting type after applying the - operator.

impl<'_> Sub<&'_ i64> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'b, '_> Sub<&'_ i64> for &'b Complex[src]

type Output = SubI64Incomplete<'b>

The resulting type after applying the - operator.

impl<'_> Sub<&'_ i8> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'b, '_> Sub<&'_ i8> for &'b Complex[src]

type Output = SubI8Incomplete<'b>

The resulting type after applying the - operator.

impl<'_> Sub<&'_ u128> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'b, '_> Sub<&'_ u128> for &'b Complex[src]

type Output = SubU128Incomplete<'b>

The resulting type after applying the - operator.

impl<'_> Sub<&'_ u16> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'b, '_> Sub<&'_ u16> for &'b Complex[src]

type Output = SubU16Incomplete<'b>

The resulting type after applying the - operator.

impl<'_> Sub<&'_ u32> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'b, '_> Sub<&'_ u32> for &'b Complex[src]

type Output = SubU32Incomplete<'b>

The resulting type after applying the - operator.

impl<'_> Sub<&'_ u64> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'b, '_> Sub<&'_ u64> for &'b Complex[src]

type Output = SubU64Incomplete<'b>

The resulting type after applying the - operator.

impl<'_> Sub<&'_ u8> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'b, '_> Sub<&'_ u8> for &'b Complex[src]

type Output = SubU8Incomplete<'b>

The resulting type after applying the - operator.

impl<'a> Sub<&'a Complex> for &'a Complex[src]

type Output = SubIncomplete<'a>

The resulting type after applying the - operator.

impl<'a> Sub<&'a Complex> for Float[src]

type Output = SubFromOwnedFloatIncomplete<'a>

The resulting type after applying the - operator.

impl<'a> Sub<&'a Complex> for &'a Float[src]

type Output = SubFromFloatIncomplete<'a>

The resulting type after applying the - operator.

impl<'a> Sub<&'a Complex> for Integer[src]

type Output = SubFromOwnedIntegerIncomplete<'a>

The resulting type after applying the - operator.

impl<'a> Sub<&'a Complex> for &'a Integer[src]

type Output = SubFromIntegerIncomplete<'a>

The resulting type after applying the - operator.

impl<'a> Sub<&'a Complex> for Rational[src]

type Output = SubFromOwnedRationalIncomplete<'a>

The resulting type after applying the - operator.

impl<'a> Sub<&'a Complex> for &'a Rational[src]

type Output = SubFromRationalIncomplete<'a>

The resulting type after applying the - operator.

impl<'a> Sub<&'a Float> for &'a Complex[src]

type Output = SubFloatIncomplete<'a>

The resulting type after applying the - operator.

impl<'a> Sub<&'a Integer> for &'a Complex[src]

type Output = SubIntegerIncomplete<'a>

The resulting type after applying the - operator.

impl<'a> Sub<&'a Rational> for &'a Complex[src]

type Output = SubRationalIncomplete<'a>

The resulting type after applying the - operator.

impl<'b> Sub<&'b Complex> for i8[src]

type Output = SubFromI8Incomplete<'b>

The resulting type after applying the - operator.

impl<'b, '_> Sub<&'b Complex> for &'_ i8[src]

type Output = SubFromI8Incomplete<'b>

The resulting type after applying the - operator.

impl<'b> Sub<&'b Complex> for u8[src]

type Output = SubFromU8Incomplete<'b>

The resulting type after applying the - operator.

impl<'b, '_> Sub<&'b Complex> for &'_ u8[src]

type Output = SubFromU8Incomplete<'b>

The resulting type after applying the - operator.

impl<'b> Sub<&'b Complex> for u16[src]

type Output = SubFromU16Incomplete<'b>

The resulting type after applying the - operator.

impl<'b, '_> Sub<&'b Complex> for &'_ u16[src]

type Output = SubFromU16Incomplete<'b>

The resulting type after applying the - operator.

impl<'b> Sub<&'b Complex> for u32[src]

type Output = SubFromU32Incomplete<'b>

The resulting type after applying the - operator.

impl<'b, '_> Sub<&'b Complex> for &'_ u32[src]

type Output = SubFromU32Incomplete<'b>

The resulting type after applying the - operator.

impl<'b> Sub<&'b Complex> for u64[src]

type Output = SubFromU64Incomplete<'b>

The resulting type after applying the - operator.

impl<'b, '_> Sub<&'b Complex> for &'_ u64[src]

type Output = SubFromU64Incomplete<'b>

The resulting type after applying the - operator.

impl<'b> Sub<&'b Complex> for u128[src]

type Output = SubFromU128Incomplete<'b>

The resulting type after applying the - operator.

impl<'b, '_> Sub<&'b Complex> for &'_ u128[src]

type Output = SubFromU128Incomplete<'b>

The resulting type after applying the - operator.

impl<'b> Sub<&'b Complex> for i16[src]

type Output = SubFromI16Incomplete<'b>

The resulting type after applying the - operator.

impl<'b> Sub<&'b Complex> for f32[src]

type Output = SubFromF32Incomplete<'b>

The resulting type after applying the - operator.

impl<'b, '_> Sub<&'b Complex> for &'_ f32[src]

type Output = SubFromF32Incomplete<'b>

The resulting type after applying the - operator.

impl<'b> Sub<&'b Complex> for f64[src]

type Output = SubFromF64Incomplete<'b>

The resulting type after applying the - operator.

impl<'b, '_> Sub<&'b Complex> for &'_ f64[src]

type Output = SubFromF64Incomplete<'b>

The resulting type after applying the - operator.

impl<'b, '_> Sub<&'b Complex> for &'_ i16[src]

type Output = SubFromI16Incomplete<'b>

The resulting type after applying the - operator.

impl<'b> Sub<&'b Complex> for i32[src]

type Output = SubFromI32Incomplete<'b>

The resulting type after applying the - operator.

impl<'b, '_> Sub<&'b Complex> for &'_ i32[src]

type Output = SubFromI32Incomplete<'b>

The resulting type after applying the - operator.

impl<'b> Sub<&'b Complex> for i64[src]

type Output = SubFromI64Incomplete<'b>

The resulting type after applying the - operator.

impl<'b, '_> Sub<&'b Complex> for &'_ i64[src]

type Output = SubFromI64Incomplete<'b>

The resulting type after applying the - operator.

impl<'b> Sub<&'b Complex> for i128[src]

type Output = SubFromI128Incomplete<'b>

The resulting type after applying the - operator.

impl<'b, '_> Sub<&'b Complex> for &'_ i128[src]

type Output = SubFromI128Incomplete<'b>

The resulting type after applying the - operator.

impl Sub<Complex> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'_> Sub<Complex> for &'_ Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl Sub<Complex> for i64[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'_> Sub<Complex> for &'_ i64[src]

type Output = Complex

The resulting type after applying the - operator.

impl Sub<Complex> for i128[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'_> Sub<Complex> for &'_ i128[src]

type Output = Complex

The resulting type after applying the - operator.

impl Sub<Complex> for u8[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'_> Sub<Complex> for &'_ u8[src]

type Output = Complex

The resulting type after applying the - operator.

impl Sub<Complex> for u16[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'_> Sub<Complex> for &'_ u16[src]

type Output = Complex

The resulting type after applying the - operator.

impl Sub<Complex> for u32[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'_> Sub<Complex> for &'_ u32[src]

type Output = Complex

The resulting type after applying the - operator.

impl Sub<Complex> for Float[src]

type Output = Complex

The resulting type after applying the - operator.

impl Sub<Complex> for u64[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'_> Sub<Complex> for &'_ u64[src]

type Output = Complex

The resulting type after applying the - operator.

impl Sub<Complex> for u128[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'_> Sub<Complex> for &'_ u128[src]

type Output = Complex

The resulting type after applying the - operator.

impl Sub<Complex> for f32[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'_> Sub<Complex> for &'_ f32[src]

type Output = Complex

The resulting type after applying the - operator.

impl Sub<Complex> for f64[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'_> Sub<Complex> for &'_ f64[src]

type Output = Complex

The resulting type after applying the - operator.

impl Sub<Complex> for Integer[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'_> Sub<Complex> for &'_ Integer[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'_> Sub<Complex> for &'_ Float[src]

type Output = Complex

The resulting type after applying the - operator.

impl Sub<Complex> for Rational[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'_> Sub<Complex> for &'_ Rational[src]

type Output = Complex

The resulting type after applying the - operator.

impl Sub<Complex> for i8[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'_> Sub<Complex> for &'_ i8[src]

type Output = Complex

The resulting type after applying the - operator.

impl Sub<Complex> for i16[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'_> Sub<Complex> for &'_ i16[src]

type Output = Complex

The resulting type after applying the - operator.

impl Sub<Complex> for i32[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'_> Sub<Complex> for &'_ i32[src]

type Output = Complex

The resulting type after applying the - operator.

impl Sub<Float> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'a> Sub<Float> for &'a Complex[src]

type Output = SubOwnedFloatIncomplete<'a>

The resulting type after applying the - operator.

impl Sub<Integer> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'a> Sub<Integer> for &'a Complex[src]

type Output = SubOwnedIntegerIncomplete<'a>

The resulting type after applying the - operator.

impl Sub<Rational> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'a> Sub<Rational> for &'a Complex[src]

type Output = SubOwnedRationalIncomplete<'a>

The resulting type after applying the - operator.

impl Sub<f32> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'b> Sub<f32> for &'b Complex[src]

type Output = SubF32Incomplete<'b>

The resulting type after applying the - operator.

impl Sub<f64> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'b> Sub<f64> for &'b Complex[src]

type Output = SubF64Incomplete<'b>

The resulting type after applying the - operator.

impl Sub<i128> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'b> Sub<i128> for &'b Complex[src]

type Output = SubI128Incomplete<'b>

The resulting type after applying the - operator.

impl Sub<i16> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'b> Sub<i16> for &'b Complex[src]

type Output = SubI16Incomplete<'b>

The resulting type after applying the - operator.

impl Sub<i32> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'b> Sub<i32> for &'b Complex[src]

type Output = SubI32Incomplete<'b>

The resulting type after applying the - operator.

impl Sub<i64> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'b> Sub<i64> for &'b Complex[src]

type Output = SubI64Incomplete<'b>

The resulting type after applying the - operator.

impl Sub<i8> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'b> Sub<i8> for &'b Complex[src]

type Output = SubI8Incomplete<'b>

The resulting type after applying the - operator.

impl Sub<u128> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'b> Sub<u128> for &'b Complex[src]

type Output = SubU128Incomplete<'b>

The resulting type after applying the - operator.

impl Sub<u16> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'b> Sub<u16> for &'b Complex[src]

type Output = SubU16Incomplete<'b>

The resulting type after applying the - operator.

impl Sub<u32> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'b> Sub<u32> for &'b Complex[src]

type Output = SubU32Incomplete<'b>

The resulting type after applying the - operator.

impl Sub<u64> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'b> Sub<u64> for &'b Complex[src]

type Output = SubU64Incomplete<'b>

The resulting type after applying the - operator.

impl Sub<u8> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl<'b> Sub<u8> for &'b Complex[src]

type Output = SubU8Incomplete<'b>

The resulting type after applying the - operator.

impl<'_> SubAssign<&'_ Complex> for Complex[src]

impl<'_> SubAssign<&'_ Float> for Complex[src]

impl<'_> SubAssign<&'_ Integer> for Complex[src]

impl<'_> SubAssign<&'_ Rational> for Complex[src]

impl<'_> SubAssign<&'_ f32> for Complex[src]

impl<'_> SubAssign<&'_ f64> for Complex[src]

impl<'_> SubAssign<&'_ i128> for Complex[src]

impl<'_> SubAssign<&'_ i16> for Complex[src]

impl<'_> SubAssign<&'_ i32> for Complex[src]

impl<'_> SubAssign<&'_ i64> for Complex[src]

impl<'_> SubAssign<&'_ i8> for Complex[src]

impl<'_> SubAssign<&'_ u128> for Complex[src]

impl<'_> SubAssign<&'_ u16> for Complex[src]

impl<'_> SubAssign<&'_ u32> for Complex[src]

impl<'_> SubAssign<&'_ u64> for Complex[src]

impl<'_> SubAssign<&'_ u8> for Complex[src]

impl SubAssign<Complex> for Complex[src]

impl SubAssign<Float> for Complex[src]

impl SubAssign<Integer> for Complex[src]

impl SubAssign<Rational> for Complex[src]

impl SubAssign<f32> for Complex[src]

impl SubAssign<f64> for Complex[src]

impl SubAssign<i128> for Complex[src]

impl SubAssign<i16> for Complex[src]

impl SubAssign<i32> for Complex[src]

impl SubAssign<i64> for Complex[src]

impl SubAssign<i8> for Complex[src]

impl SubAssign<u128> for Complex[src]

impl SubAssign<u16> for Complex[src]

impl SubAssign<u32> for Complex[src]

impl SubAssign<u64> for Complex[src]

impl SubAssign<u8> for Complex[src]

impl<'_> SubAssignRound<&'_ Complex> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubAssignRound<&'_ Float> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubAssignRound<&'_ Integer> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubAssignRound<&'_ Rational> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubAssignRound<&'_ f32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubAssignRound<&'_ f64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubAssignRound<&'_ i128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubAssignRound<&'_ i16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubAssignRound<&'_ i32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubAssignRound<&'_ i64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubAssignRound<&'_ i8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubAssignRound<&'_ u128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubAssignRound<&'_ u16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubAssignRound<&'_ u32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubAssignRound<&'_ u64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubAssignRound<&'_ u8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubAssignRound<Complex> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubAssignRound<Float> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubAssignRound<Integer> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubAssignRound<Rational> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubAssignRound<f32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubAssignRound<f64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubAssignRound<i128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubAssignRound<i16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubAssignRound<i32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubAssignRound<i64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubAssignRound<i8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubAssignRound<u128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubAssignRound<u16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubAssignRound<u32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubAssignRound<u64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubAssignRound<u8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubFrom<&'_ Complex> for Complex[src]

impl<'_> SubFrom<&'_ Float> for Complex[src]

impl<'_> SubFrom<&'_ Integer> for Complex[src]

impl<'_> SubFrom<&'_ Rational> for Complex[src]

impl<'_> SubFrom<&'_ f32> for Complex[src]

impl<'_> SubFrom<&'_ f64> for Complex[src]

impl<'_> SubFrom<&'_ i128> for Complex[src]

impl<'_> SubFrom<&'_ i16> for Complex[src]

impl<'_> SubFrom<&'_ i32> for Complex[src]

impl<'_> SubFrom<&'_ i64> for Complex[src]

impl<'_> SubFrom<&'_ i8> for Complex[src]

impl<'_> SubFrom<&'_ u128> for Complex[src]

impl<'_> SubFrom<&'_ u16> for Complex[src]

impl<'_> SubFrom<&'_ u32> for Complex[src]

impl<'_> SubFrom<&'_ u64> for Complex[src]

impl<'_> SubFrom<&'_ u8> for Complex[src]

impl SubFrom<Complex> for Complex[src]

impl SubFrom<Float> for Complex[src]

impl SubFrom<Integer> for Complex[src]

impl SubFrom<Rational> for Complex[src]

impl SubFrom<f32> for Complex[src]

impl SubFrom<f64> for Complex[src]

impl SubFrom<i128> for Complex[src]

impl SubFrom<i16> for Complex[src]

impl SubFrom<i32> for Complex[src]

impl SubFrom<i64> for Complex[src]

impl SubFrom<i8> for Complex[src]

impl SubFrom<u128> for Complex[src]

impl SubFrom<u16> for Complex[src]

impl SubFrom<u32> for Complex[src]

impl SubFrom<u64> for Complex[src]

impl SubFrom<u8> for Complex[src]

impl<'_> SubFromRound<&'_ Complex> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubFromRound<&'_ Float> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubFromRound<&'_ Integer> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubFromRound<&'_ Rational> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubFromRound<&'_ f32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubFromRound<&'_ f64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubFromRound<&'_ i128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubFromRound<&'_ i16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubFromRound<&'_ i32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubFromRound<&'_ i64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubFromRound<&'_ i8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubFromRound<&'_ u128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubFromRound<&'_ u16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubFromRound<&'_ u32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubFromRound<&'_ u64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl<'_> SubFromRound<&'_ u8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubFromRound<Complex> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubFromRound<Float> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubFromRound<Integer> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubFromRound<Rational> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubFromRound<f32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubFromRound<f64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubFromRound<i128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubFromRound<i16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubFromRound<i32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubFromRound<i64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubFromRound<i8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubFromRound<u128> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubFromRound<u16> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubFromRound<u32> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubFromRound<u64> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl SubFromRound<u8> for Complex[src]

type Round = (Round, Round)

The rounding method.

type Ordering = (Ordering, Ordering)

The direction from rounding.

impl Sync for Complex[src]

impl UpperExp for Complex[src]

impl UpperHex for Complex[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Az for T[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CheckedAs for T[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> OverflowingAs for T[src]

impl<T> SaturatingAs for T[src]

impl<T> StaticAs for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WrappingAs for T[src]