36 double complex a(m*k,np),b(k*n,np)
37 double complex c(m*n,np)
39 double complex zdotu,one,zero
40 parameter(one = 1d0, zero = 0d0)
41 external zdotu,zgemv,zgemm
50 c(1,i) = zdotu(k,a(1,i),1,b(1,i),1)
54 call zgemv(
"T",k,n,one,b(1,i),k,a(1,i),1,zero,c(1,i),1)
60 call zgemv(
"N",m,k,one,a(1,i),m,b(1,i),1,zero,c(1,i),1)
64 call zgemm(
"N",
"N",m,n,k,
65 + one,a(1,i),m,b(1,i),k,zero,c(1,i),m)
subroutine zmatm3(m, n, k, np, a, b, c)