Skip to main content

assert_length_eq_n_rows

Macro assert_length_eq_n_rows 

Source
macro_rules! assert_length_eq_n_rows {
    ($a:expr, $x:expr) => { ... };
}
Expand description

asserts the length of a VecRef/VecMut buffer equals the number of rows in a MatRef/MatMut

a.assert_length_eq_n_rows(x);