pub fn mat_vec(a: &[Vec<f64>], x: &[f64]) -> Vec<f64>
Compute the matrix-vector product y = A x.
y = A x
a is row-major with shape m × n; returns a vector of length m.
a
m × n
m