Function amici::amici_dgemv

Function Documentation

void amici::amici_dgemv(BLASLayout layout, BLASTranspose TransA, int M, int N, double alpha, double const *A, int lda, double const *X, int incX, double beta, double *Y, int incY)

CBLAS matrix vector multiplication (dgemv).

Computes \( y = alpha*A*x + beta*y \) with A: [MxN] x:[Nx1] y:[Mx1]

Parameters:
  • layout – Matrix layout, column major or row major.

  • TransA – flag indicating whether A should be transposed before multiplication

  • M – number of rows in A

  • N – number of columns in A

  • alpha – coefficient alpha

  • A – matrix A

  • lda – leading dimension / stride of A (>=N if row-major, >=M if col-major)

  • X – vector X

  • incX – increment for entries of X

  • beta – coefficient beta

  • Y – vector Y

  • incY – increment for entries of Y