pub type c32 = Complex<f32>;
Expand description
Alias for a Complex<f32>
Aliased Type§
#[repr(C)]pub struct c32 {
pub re: f32,
pub im: f32,
}
Fields§
§re: f32
Real portion of the complex number
im: f32
Imaginary portion of the complex number
Trait Implementations§
Source§impl RelDiff for c32
impl RelDiff for c32
type A = Complex<f32>
Source§fn rel_diff_fro(
first: ArrayView2<'_, Self::A>,
second: ArrayView2<'_, Self::A>,
) -> <<Self as RelDiff>::A as Scalar>::Real
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
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
.