Skip to main content

gemv_transpose

Function gemv_transpose 

Source
pub fn gemv_transpose<T: SimdOps>(
    a: &[T],
    x: &[T],
    y: &mut [T],
    nrows: usize,
    ncols: usize,
) -> Result<(), SimdError>
Expand description

Computes register-blocked transposed GEMV y += Aᵀ · x with runtime backend selection — the complement of gemv().

a is row-major nrows × ncols, x length nrows, y length ncols; the product accumulates into y (zero y first for y = Aᵀ·x). See gemv_transpose() for the operand-reuse theorem.

§Errors

SimdError::LengthMismatch if a.len() < nrows·ncols, x.len() < nrows, or y.len() < ncols.