Trait ComplexNormalInit

Source
pub trait ComplexNormalInit<D: Dimension> {
    // Required method
    fn complex_normal_init<Sh>(
        shape: Sh,
        re0: f64,
        im0: f64,
        re_var: f64,
        im_var: f64,
    ) -> Self
       where Sh: ShapeBuilder<Dim = D>;
}

Required Methods§

Source

fn complex_normal_init<Sh>( shape: Sh, re0: f64, im0: f64, re_var: f64, im_var: f64, ) -> Self
where Sh: ShapeBuilder<Dim = D>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<D> ComplexNormalInit<D> for Array<Complex<f32>, D>
where D: Dimension,

Source§

fn complex_normal_init<Sh>( shape: Sh, re0: f64, im0: f64, re_var: f64, im_var: f64, ) -> Self
where Sh: ShapeBuilder<Dim = D>,

Source§

impl<D> ComplexNormalInit<D> for Array<Complex<f64>, D>
where D: Dimension,

Source§

fn complex_normal_init<Sh>( shape: Sh, re0: f64, im0: f64, re_var: f64, im_var: f64, ) -> Self
where Sh: ShapeBuilder<Dim = D>,

Implementors§