Function amici::amici_dgemm

Function Documentation

void amici::amici_dgemm(BLASLayout layout, BLASTranspose TransA, BLASTranspose TransB, int M, int N, int K, double alpha, const double *A, int lda, const double *B, int ldb, double beta, double *C, int ldc)

amici_dgemm provides an interface to the CBlas matrix matrix multiplication routine dgemm. This routines computes C = alpha*A*B + beta*C with A: [MxK] B:[KxN] C:[MxN]

  • layout: memory layout.

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

  • TransB: flag indicating whether B should be transposed before multiplication

  • M: number of rows in A/C

  • N: number of columns in B/C

  • K: number of rows in B, number of columns in A

  • alpha: coefficient alpha

  • A: matrix A

  • lda: leading dimension of A (m or k)

  • B: matrix B

  • ldb: leading dimension of B (k or n)

  • beta: coefficient beta

  • C: matrix C

  • ldc: leading dimension of C (m or n)