Struct easy_complex::ExpComplex [] [src]

pub struct ExpComplex {
    pub arg: f64,
    pub module: f64,
}

Fields

Methods

impl ExpComplex
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl Clone for ExpComplex
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for ExpComplex
[src]

impl Complex for ExpComplex
[src]

impl From<NumComplex> for ExpComplex
[src]

[src]

Performs the conversion.

impl Display for ExpComplex
[src]

Display of the numbers with a general computation style

Examples

extern crate easy_complex;
 use easy_complex::{ExpComplex, NumComplex, ContainedInComplex};

 let exp = 1.complex();
 println!("{}", exp);
 //Prints in exponential form --> 1.0 · exp(0.0j)
 println!("{}", NumComplex::new_from(exp));
 //Prints in coordinates --> 1.0 + 0.0j

[src]

Formats the value using the given formatter. Read more

impl PartialEq for ExpComplex
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Add<ExpComplex> for ExpComplex
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a, 'b> Add<&'b ExpComplex> for &'a ExpComplex
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<NumComplex> for ExpComplex
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a, 'b> Add<&'b NumComplex> for &'a ExpComplex
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Neg for ExpComplex
[src]

The resulting type after applying the - operator.

[src]

Performs the unary - operation.

impl<'a> Neg for &'a ExpComplex
[src]

The resulting type after applying the - operator.

[src]

Performs the unary - operation.

impl Sub<ExpComplex> for ExpComplex
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<'a, 'b> Sub<&'b ExpComplex> for &'a ExpComplex
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Sub<NumComplex> for ExpComplex
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<'a, 'b> Sub<&'b NumComplex> for &'a ExpComplex
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Mul<ExpComplex> for ExpComplex
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<'a, 'b> Mul<&'b ExpComplex> for &'a ExpComplex
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<NumComplex> for ExpComplex
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<'a, 'b> Mul<&'b NumComplex> for &'a ExpComplex
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Div<ExpComplex> for ExpComplex
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<'a, 'b> Div<&'b ExpComplex> for &'a ExpComplex
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Div<NumComplex> for ExpComplex
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<'a, 'b> Div<&'b NumComplex> for &'a ExpComplex
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.