[−][src]Struct easy_complex::EComplex
EComplex
number represented in exponential form
Fields
module: T
arg: T
Methods
impl EComplex<f32>
[src]
pub fn new(module: f32, arg: f32) -> EComplex<f32>
[src]
pub fn real(&self) -> f32
[src]
pub fn imag(&self) -> f32
[src]
pub fn module(&self) -> f32
[src]
pub fn arg(&self) -> Angle<f32>
[src]
pub fn conjugate(&self) -> Self
[src]
impl EComplex<f64>
[src]
pub fn new(module: f64, arg: f64) -> EComplex<f64>
[src]
pub fn real(&self) -> f64
[src]
pub fn imag(&self) -> f64
[src]
pub fn module(&self) -> f64
[src]
pub fn arg(&self) -> Angle<f64>
[src]
pub fn conjugate(&self) -> Self
[src]
impl EComplex<f32>
[src]
pub fn ln(&self) -> Self
[src]
pub fn log(&self, base: f32) -> Self
[src]
pub fn log2(&self) -> Self
[src]
pub fn log10(&self) -> Self
[src]
pub fn powf(&self, power: f32) -> Self
[src]
pub fn exp(&self) -> Self
[src]
pub fn sqrt(&self) -> Vec<Self>
[src]
pub fn root(&self, r: usize) -> Vec<Self>
[src]
pub fn powc(&self, power: EComplex<f32>) -> Self
[src]
pub fn expf(&self, base: f32) -> Self
[src]
impl EComplex<f64>
[src]
pub fn ln(&self) -> Self
[src]
pub fn log(&self, base: f64) -> Self
[src]
pub fn log2(&self) -> Self
[src]
pub fn log10(&self) -> Self
[src]
pub fn powf(&self, power: f32) -> Self
[src]
pub fn exp(&self) -> Self
[src]
pub fn sqrt(&self) -> Vec<Self>
[src]
pub fn root(&self, r: usize) -> Vec<Self>
[src]
pub fn powc(&self, power: EComplex<f64>) -> Self
[src]
pub fn expf(&self, base: f64) -> Self
[src]
impl EComplex<f32>
[src]
pub fn cosh(&self) -> Self
[src]
pub fn sinh(&self) -> Self
[src]
pub fn tanh(&self) -> Self
[src]
pub fn cos(&self) -> Self
[src]
pub fn sin(&self) -> Self
[src]
pub fn tan(&self) -> Self
[src]
impl EComplex<f64>
[src]
pub fn cosh(&self) -> Self
[src]
pub fn sinh(&self) -> Self
[src]
pub fn tanh(&self) -> Self
[src]
pub fn cos(&self) -> Self
[src]
pub fn sin(&self) -> Self
[src]
pub fn tan(&self) -> Self
[src]
Trait Implementations
impl<T: Eq> Eq for EComplex<T>
[src]
impl<T: Copy> Copy for EComplex<T>
[src]
impl<T: Clone> Clone for EComplex<T>
[src]
fn clone(&self) -> EComplex<T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: PartialEq> PartialEq<EComplex<T>> for EComplex<T>
[src]
impl From<i8> for EComplex<f32>
[src]
impl From<(i8, i8)> for EComplex<f32>
[src]
impl From<u8> for EComplex<f32>
[src]
impl From<(u8, u8)> for EComplex<f32>
[src]
impl From<i16> for EComplex<f32>
[src]
impl From<(i16, i16)> for EComplex<f32>
[src]
impl From<u16> for EComplex<f32>
[src]
impl From<(u16, u16)> for EComplex<f32>
[src]
impl From<f32> for EComplex<f32>
[src]
impl From<(f32, f32)> for EComplex<f32>
[src]
impl From<i8> for EComplex<f64>
[src]
impl From<(i8, i8)> for EComplex<f64>
[src]
impl From<u8> for EComplex<f64>
[src]
impl From<(u8, u8)> for EComplex<f64>
[src]
impl From<i16> for EComplex<f64>
[src]
impl From<(i16, i16)> for EComplex<f64>
[src]
impl From<u16> for EComplex<f64>
[src]
impl From<(u16, u16)> for EComplex<f64>
[src]
impl From<f32> for EComplex<f64>
[src]
impl From<(f32, f32)> for EComplex<f64>
[src]
impl From<i32> for EComplex<f64>
[src]
impl From<(i32, i32)> for EComplex<f64>
[src]
impl From<u32> for EComplex<f64>
[src]
impl From<(u32, u32)> for EComplex<f64>
[src]
impl From<f64> for EComplex<f64>
[src]
impl From<(f64, f64)> for EComplex<f64>
[src]
impl From<Complex<f32>> for EComplex<f32>
[src]
impl<'a> From<&'a Complex<f32>> for EComplex<f32>
[src]
impl From<Complex<f32>> for EComplex<f64>
[src]
impl<'a> From<&'a Complex<f32>> for EComplex<f64>
[src]
impl From<Complex<f64>> for EComplex<f64>
[src]
impl<'a> From<&'a Complex<f64>> for EComplex<f64>
[src]
impl From<EComplex<f32>> for Complex<f32>
[src]
impl<'a> From<&'a EComplex<f32>> for Complex<f32>
[src]
impl From<EComplex<f32>> for Complex<f64>
[src]
impl<'a> From<&'a EComplex<f32>> for Complex<f64>
[src]
impl From<EComplex<f64>> for Complex<f64>
[src]
impl<'a> From<&'a EComplex<f64>> for Complex<f64>
[src]
impl Display for EComplex<f32>
[src]
impl Display for EComplex<f64>
[src]
impl<T: Debug> Debug for EComplex<T>
[src]
impl<A> Add<A> for EComplex<f32> where
A: Into<Complex<f32>>,
[src]
A: Into<Complex<f32>>,
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: A) -> Self
[src]
impl<A> Add<A> for EComplex<f64> where
A: Into<Complex<f64>>,
[src]
A: Into<Complex<f64>>,
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: A) -> Self
[src]
impl<A> Sub<A> for EComplex<f32> where
A: Into<Complex<f32>>,
[src]
A: Into<Complex<f32>>,
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: A) -> Self
[src]
impl<A> Sub<A> for EComplex<f64> where
A: Into<Complex<f64>>,
[src]
A: Into<Complex<f64>>,
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: A) -> Self
[src]
impl<A> Mul<A> for EComplex<f32> where
A: Into<EComplex<f32>>,
[src]
A: Into<EComplex<f32>>,
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: A) -> Self
[src]
impl<A> Mul<A> for EComplex<f64> where
A: Into<EComplex<f64>>,
[src]
A: Into<EComplex<f64>>,
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: A) -> Self
[src]
impl<A> Div<A> for EComplex<f32> where
A: Into<EComplex<f32>>,
[src]
A: Into<EComplex<f32>>,
type Output = Self
The resulting type after applying the /
operator.
fn div(self, other: A) -> Self
[src]
impl<A> Div<A> for EComplex<f64> where
A: Into<EComplex<f64>>,
[src]
A: Into<EComplex<f64>>,
type Output = Self
The resulting type after applying the /
operator.
fn div(self, other: A) -> Self
[src]
impl Neg for EComplex<f32>
[src]
type Output = EComplex<f32>
The resulting type after applying the -
operator.
fn neg(self) -> EComplex<f32>
[src]
impl Neg for EComplex<f64>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
ⓘImportant traits for &'_ mut Ifn borrow_mut(&mut self) -> &mut T
[src]
ⓘImportant traits for &'_ mut I
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,