pub fn matrix<const R: usize, const C: usize, E>(elements: [[E; C]; R]) -> Exprwhere E: Into<Expr>, Expr: From<E>,
Constructs a row-major matrix expression from a nested array.