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)

CBLAS matrix matrix multiplication (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)