Skip to main content

from_amplitude_phase

Function from_amplitude_phase 

Source
pub fn from_amplitude_phase(
    amplitude: ArrayView2<'_, f64>,
    phase: ArrayView2<'_, f64>,
) -> Result<Array2<Complex64>>
Expand description

Combines amplitude and phase from arbitrary, matching ndarray layouts.

The inputs are borrowed without copying. The output allocation is standard row-major and follows their logical traversal order.