gemv_ndarray

Function gemv_ndarray 

Source
pub fn gemv_ndarray<T>(
    trans: Transpose,
    alpha: T,
    a: &Array2<T>,
    x: &Array1<T>,
    beta: T,
    y: &mut Array1<T>,
)
where T: Zeroable + Field + Clone,
Expand description

General matrix-vector multiplication: y = α·op(A)·x + β·y

§Arguments

  • trans - Whether to transpose A
  • alpha - Scalar multiplier for A·x
  • a - The matrix (m×n)
  • x - Input vector
  • beta - Scalar multiplier for y
  • y - Output vector (modified in place)

§Panics

Panics if dimensions don’t match.