pub struct Complex64 {
pub re: f64,
pub im: f64,
}Fields§
§re: f64§im: f64Implementations§
Source§impl Complex64
impl Complex64
pub fn conj(self) -> c64
pub fn abs(self) -> f64
pub fn abs_square(self) -> f64
pub fn arg(self) -> f64
pub fn to_polar(self) -> (f64, f64)
pub fn from_polar(r: f64, phi: f64) -> c64
pub fn exp(self) -> c64
pub fn ln(self) -> c64
pub fn sqrt(self) -> c64
pub fn powf(self, a: f64) -> c64
pub fn powc(self, w: c64) -> c64
pub fn expf(self, base: f64) -> c64
pub fn sin(self) -> c64
pub fn cos(self) -> c64
pub fn tan(self) -> c64
pub fn cot(self) -> c64
pub fn sinh(self) -> c64
pub fn cosh(self) -> c64
pub fn tanh(self) -> c64
pub fn coth(self) -> c64
pub fn asin(self) -> c64
pub fn acos(self) -> c64
pub fn atan(self) -> c64
pub fn asinh(self) -> c64
pub fn acosh(self) -> c64
pub fn atanh(self) -> c64
pub fn is_nan(self) -> bool
pub fn is_infinite(self) -> bool
pub fn is_finite(self) -> bool
pub fn is_normal(self) -> bool
Trait Implementations§
impl Copy for Complex64
impl StructuralPartialEq for Complex64
Auto Trait Implementations§
impl Freeze for Complex64
impl RefUnwindSafe for Complex64
impl Send for Complex64
impl Sync for Complex64
impl Unpin for Complex64
impl UnwindSafe for Complex64
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