Function dgemm (o2scl_cblas)¶
-
template<class mat_t>
void o2scl_cblas::dgemm(const enum o2cblas_order Order, const enum o2cblas_transpose TransA, const enum o2cblas_transpose TransB, const size_t M, const size_t N, const size_t K, const double alpha, const mat_t &A, const mat_t &B, const double beta, mat_t &C)¶ Compute \( y=\alpha \mathrm{op}(A) \mathrm{op}(B) + \beta C \).
When both
TransA
andTransB
areNoTrans
, this function operates on the first M rows and K columns of matrix A, and the first K rows and N columns of matrix B to produce a matrix C with M rows and N columns.This function works for all values of
Order
,TransA
, andTransB
.