Jump to content

Matrix multiplication: Difference between revisions

No edit summary
Line 262:
 
=={{header|Fortran}}==
In ISO Fortran 90 andor later, use the MATMUL intrinsic function:
REAL, DIMENSION(N,M) :: A = RESHAPE( (/ (I, I=1, N*M) /), (/ N, M /) )
REAL, DIMENSION(M,K) :: B = RESHAPE( (/ (I, I=1, M*K) /), (/ M, K /) )
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.