pub struct EComplex<T> {
pub module: T,
pub arg: T,
}
Expand description
EComplex
number represented in exponential form
Fields§
§module: T
§arg: T
Implementations§
Source§impl EComplex<f32>
impl EComplex<f32>
pub fn ln(&self) -> Self
pub fn log(&self, base: f32) -> Self
pub fn log2(&self) -> Self
pub fn log10(&self) -> Self
pub fn powf(&self, power: f32) -> Self
pub fn exp(&self) -> Self
pub fn sqrt(&self) -> Vec<Self>
pub fn root(&self, r: usize) -> Vec<Self>
pub fn powc(&self, power: EComplex<f32>) -> Self
pub fn expf(&self, base: f32) -> Self
Source§impl EComplex<f64>
impl EComplex<f64>
pub fn ln(&self) -> Self
pub fn log(&self, base: f64) -> Self
pub fn log2(&self) -> Self
pub fn log10(&self) -> Self
pub fn powf(&self, power: f32) -> Self
pub fn exp(&self) -> Self
pub fn sqrt(&self) -> Vec<Self>
pub fn root(&self, r: usize) -> Vec<Self>
pub fn powc(&self, power: EComplex<f64>) -> Self
pub fn expf(&self, base: f64) -> Self
Trait Implementations§
impl<T: Copy> Copy for EComplex<T>
impl<T: Eq> Eq for EComplex<T>
impl<T> StructuralPartialEq for EComplex<T>
Auto Trait Implementations§
impl<T> Freeze for EComplex<T>where
T: Freeze,
impl<T> RefUnwindSafe for EComplex<T>where
T: RefUnwindSafe,
impl<T> Send for EComplex<T>where
T: Send,
impl<T> Sync for EComplex<T>where
T: Sync,
impl<T> Unpin for EComplex<T>where
T: Unpin,
impl<T> UnwindSafe for EComplex<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more