pub fn gevm(alpha: f64, a: &Vec<f64>, b: &Matrix, beta: f64, c: &mut Vec<f64>)
Expand description
General Vector-Matrix multiplication
§Example
#[macro_use]
extern crate peroxide;
use peroxide::fuga::*;
fn main() {
let a = c!(1, 2);
let b = ml_matrix("1 2 3; 4 5 6");
let mut c = vec![0f64; 3];
gevm(1f64, &a, &b, 0f64, &mut c);
assert_eq!(c, c!(9, 12, 15));
}