source:
CIVL/mods/dev.civl.abc/examples/fortran/conversion/mxm/mxm_naive.f
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 278 bytes | |
| Line | |
|---|---|
| 1 | subroutine MXM(A,N1,B,N2,C,N3) |
| 2 | real a(n1,n2),b(n2,n3),c(n1,n3),s |
| 3 | |
| 4 | do j=1,n3 |
| 5 | do i=1,n1 |
| 6 | c(i,j) = 0.0d0 |
| 7 | do k=1,n2 |
| 8 | c(i,j) = c(i,j) + a(i,k)*b(k,j) |
| 9 | enddo |
| 10 | enddo |
| 11 | enddo |
| 12 | |
| 13 | return |
| 14 | end |
Note:
See TracBrowser
for help on using the repository browser.
