pub fn ris_co_phasing(h: &[C64], g: &[C64]) -> Result<Vec<f64>>Expand description
The phases $\phi_{i} = -\arg(h_{i} g_{i})$ (rad) of the elements of a RIS that align
the products of its hops h (source to element) and g (element to destination):
the gain $\sum_{i} g_{i} e^{j\phi_{i}} h_{i}$ is then $\sum_{i} |h_{i}| |g_{i}|$.
ยงErrors
comnum_core::Error::Shape for hops of different lengths.