real_to_complex

Function real_to_complex 

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

Expand a real array into a complex array with zero imaginary part

§Arguments

  • real_array - The real-valued array

§Returns

A complex array with the same shape