Type Alias c64

Source
pub type c64 = Complex<f64>;
Expand description

Alias for a Complex<f64>

Aliased Type§

#[repr(C)]
pub 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 RelDiff for c64

Source§

type A = Complex<f64>

Source§

fn rel_diff_fro( first: ArrayView2<'_, Self::A>, second: ArrayView2<'_, Self::A>, ) -> <<Self as RelDiff>::A as Scalar>::Real

Return the relative Frobenius norm difference of first and second.
Source§

fn rel_diff_l2( first: ArrayView1<'_, Self::A>, second: ArrayView1<'_, Self::A>, ) -> <<Self as RelDiff>::A as Scalar>::Real

Return the relative l2 vector norm difference of first and second.