subroutine dgemm ( character TRANSA,
character TRANSB,
integer M,
integer N,
integer K,
double precision ALPHA,
double precision, dimension(lda,*) A,
integer LDA,
double precision, dimension(ldb,*) B,
integer LDB,
double precision BETA,
double precision, dimension(ldc,*) C,
integer LDC
)
Though I followed this format, I keep getting an error in this command.
What I have tried:
I tried out doing matrix multiplication in C CBLAS header file using cblas_dgemm();
C = alpha*( A )*( B ) + beta*C is the operation that it does , where alpha, beta = scalars.
A, B and C are matrices .
I took A as a 1x10 matrix and B as a 1x181 matrix. So my C=(A**T)*B.
cblas_dgemm(CblasColMajor, CblasTrans,
CblasNoTrans, M, N, K, alpha, A, lda, B, ldb, beta, C, ldc);
//M=10,K=1,N=181,lda=1, ldb=1, ldc=10, alpha=1, beta=0
The site I used is
[
^]