35 double complex a(m*k,np),b(k*n,np)
36 double complex c(m*n,np)
38 double complex zdotu,one,zero
39 parameter(one = 1d0, zero = 0d0)
40 external zdotu,zgemv,zgemm
49 c(1,i) = zdotu(k,a(1,i),1,b(1,i),1)
53 call zgemv(
"T",k,n,one,b(1,i),k,a(1,i),1,zero,c(1,i),1)
59 call zgemv(
"N",m,k,one,a(1,i),m,b(1,i),1,zero,c(1,i),1)
63 call zgemm(
"N",
"N",m,n,k,
64 + one,a(1,i),m,b(1,i),k,zero,c(1,i),m)
subroutine zmatm3(m, n, k, np, a, b, c)