matvec_multiply_fast

Function matvec_multiply_fast 

Source
pub unsafe fn matvec_multiply_fast(
    matrix: &Array2<f64>,
    vector: &[f64],
    result: &mut [f64],
)
Expand description

Fast matrix-vector multiplication using unsafe optimizations

Computes result = matrix * vector

ยงSafety

  • matrix must have the same number of columns as vector has elements
  • result must have the same length as matrix has rows
  • All slices must be properly aligned and valid