complex_to_real

Function complex_to_real 

Source
pub fn complex_to_real<D>(_complexarray: &Array<Complex64, D>) -> Array<f64, D>
where D: Dimension,
Expand description

Extract the real part of a complex array

§Arguments

  • complex_array - The complex-valued array

§Returns

A real array with the same shape