dgemm

STD.BLAS.dgemm( transposeA, transposeB, M, N, K, alpha, A, B, beta, C);

transposeATrue when transpose of A is used
transposeBTrue when transpose of B is used
MNumber of rows in product
NNumber of columns in product
KNumber of columns/rows for the multiplier/multiplicand
alphaScalar used on A
AMatrix A
BMatrix B
betaScalar for matirx C
CMatrix C (or empty)
Return:The updated matrix

The dgemm function is used to multiply two matrices and optionally add that product to another matrix.

Example:

IMPORT STD;
STD.BLAS.Types.t_matrix term_a := [2, 4, 8];
STD.BLAS.Types.t_matrix term_c := [2, 1, 1];

STD.BLAS.dgemm(TRUE, FALSE, 3, 3, 1, 1, term_a, term_b);
                  //the outer product of the term_a and term_b vectors
                  //result is [4,8, 16, 2, 4, 8, 2, 4, 8]