Struct moss::complex::Complex64
[−]
[src]
pub struct Complex64 { pub re: f64, pub im: f64, }
Fields
re: f64
im: f64
Methods
impl Complex64
[src]
pub fn conj(self) -> Complex64
[src]
pub fn abs(self) -> f64
[src]
pub fn abs_square(self) -> f64
[src]
pub fn arg(self) -> f64
[src]
pub fn to_polar(self) -> (f64, f64)
[src]
pub fn from_polar(r: f64, phi: f64) -> Complex64
[src]
pub fn exp(self) -> Complex64
[src]
pub fn ln(self) -> Complex64
[src]
pub fn sqrt(self) -> Complex64
[src]
pub fn powf(self, a: f64) -> Complex64
[src]
pub fn pow(self, w: Complex64) -> Complex64
[src]
pub fn expa(self, base: f64) -> Complex64
[src]
pub fn sin(self) -> Complex64
[src]
pub fn cos(self) -> Complex64
[src]
pub fn tan(self) -> Complex64
[src]
pub fn cot(self) -> Complex64
[src]
pub fn sinh(self) -> Complex64
[src]
pub fn cosh(self) -> Complex64
[src]
pub fn tanh(self) -> Complex64
[src]
pub fn coth(self) -> Complex64
[src]
pub fn asin(self) -> Complex64
[src]
pub fn acos(self) -> Complex64
[src]
pub fn atan(self) -> Complex64
[src]
pub fn asinh(self) -> Complex64
[src]
pub fn acosh(self) -> Complex64
[src]
pub fn atanh(self) -> Complex64
[src]
pub fn is_nan(self) -> bool
[src]
pub fn is_infinite(self) -> bool
[src]
pub fn is_finite(self) -> bool
[src]
pub fn is_normal(self) -> bool
[src]
Trait Implementations
impl Clone for Complex64
[src]
fn clone(&self) -> Complex64
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Complex64
[src]
impl PartialEq for Complex64
[src]
fn eq(&self, __arg_0: &Complex64) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Complex64) -> bool
[src]
This method tests for !=
.
impl Add for Complex64
[src]
type Output = Complex64
The resulting type after applying the +
operator.
fn add(self, b: Complex64) -> Complex64
[src]
Performs the +
operation.
impl Add<f64> for Complex64
[src]
type Output = Complex64
The resulting type after applying the +
operator.
fn add(self, b: f64) -> Complex64
[src]
Performs the +
operation.
impl Add<Complex64> for f64
[src]
type Output = Complex64
The resulting type after applying the +
operator.
fn add(self, b: Complex64) -> Complex64
[src]
Performs the +
operation.
impl Sub for Complex64
[src]
type Output = Complex64
The resulting type after applying the -
operator.
fn sub(self, b: Complex64) -> Complex64
[src]
Performs the -
operation.
impl Sub<f64> for Complex64
[src]
type Output = Complex64
The resulting type after applying the -
operator.
fn sub(self, b: f64) -> Complex64
[src]
Performs the -
operation.
impl Sub<Complex64> for f64
[src]
type Output = Complex64
The resulting type after applying the -
operator.
fn sub(self, b: Complex64) -> Complex64
[src]
Performs the -
operation.
impl Mul<Complex64> for f64
[src]
type Output = Complex64
The resulting type after applying the *
operator.
fn mul(self, b: Complex64) -> Complex64
[src]
Performs the *
operation.
impl Mul for Complex64
[src]
type Output = Complex64
The resulting type after applying the *
operator.
fn mul(self, b: Complex64) -> Complex64
[src]
Performs the *
operation.
impl Div<Complex64> for f64
[src]
type Output = Complex64
The resulting type after applying the /
operator.
fn div(self, b: Complex64) -> Complex64
[src]
Performs the /
operation.
impl Div for Complex64
[src]
type Output = Complex64
The resulting type after applying the /
operator.
fn div(self, b: Complex64) -> Complex64
[src]
Performs the /
operation.
impl Div<f64> for Complex64
[src]
type Output = Complex64
The resulting type after applying the /
operator.
fn div(self, b: f64) -> Complex64
[src]
Performs the /
operation.