pub type c64 = Complex<f64>;
Expand description
Alias for a Complex<f64>
Aliased Type§
struct c64 {
pub re: f64,
pub im: f64,
}
Fields§
§re: f64
Real portion of the complex number
im: f64
Imaginary portion of the complex number
Trait Implementations§
Source§impl Scalar for c64
impl Scalar for c64
type Real = f64
type Complex = Complex<f64>
fn from_real(re: Self::Real) -> Self
fn pow(self, n: Self) -> Self
fn powi(self, n: i32) -> Self
fn powf(self, n: Self::Real) -> Self
fn powc(self, n: Self::Complex) -> Self::Complex
Source§fn real<T: ToPrimitive>(re: T) -> Self::Real
fn real<T: ToPrimitive>(re: T) -> Self::Real
Create a new real number
Source§fn complex<T: ToPrimitive>(re: T, im: T) -> Self::Complex
fn complex<T: ToPrimitive>(re: T, im: T) -> Self::Complex
Create a new complex number
Source§fn rand(rng: &mut impl Rng) -> Self
fn rand(rng: &mut impl Rng) -> Self
Generate an random number from
rand::distributions::Standard