Skip to main content

matvec

Function matvec 

Source
pub fn matvec(mat: &[Fixed], vec: &[Fixed], cols: usize) -> Vec<Fixed>
Expand description

Matrix-vector multiply: out[i] = dot(mat[i], vec). Matrix is row-major: mat.len() = rows * cols.