Skip to main content

detect

Function detect 

Source
pub fn detect(
    h: &[CMat],
    y: &[Vec<C64>],
    noise_var: f64,
    detector: &dyn MimoDetector,
) -> Result<Vec<Vec<usize>>>
Expand description

Detect every resource element: h[i] and y[i] are the channel ($n_{r} \times n_{t}$) and the received vector of RE i. Returns the labels of every RE.

ยงErrors

comnum_core::Error::Shape for inconsistent lengths, and the errors of the detector.