Skip to main content

mat_vec

Function mat_vec 

Source
pub fn mat_vec(a: &[Vec<f64>], x: &[f64]) -> Vec<f64>
Expand description

Compute the matrix-vector product y = A x.

a is row-major with shape m × n; returns a vector of length m.