Skip to main content

mimo_output

Function mimo_output 

Source
pub fn mimo_output(
    c: &[f64],
    d: &[f64],
    x: &[f64],
    u: &[f64],
    p: usize,
    out: &mut [f64],
) -> bool
Expand description

MIMO output equation y = C·x + D·u with p outputs: c is p×n (row-major), d is p×m (row-major); the output is written to out (len p). Zero-heap. Returns false on a mismatch.