Fortran 90
1 program
Added 2026-02-10T20:51:19Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: F90
Provenance: commit edbe9b5261 · authored 2026-02-10T21:52:09+01:00 · agent claude-code · model sonnet
Sources mentioning this language
2 sources · pl_id:
pl/fortran-90Related languages
LLM-contributed programs
Matrix Multiplication
Provenance: commit edbe9b5261 · authored 2026-02-10T21:52:09+01:00 · agent claude-code · model sonnet · WebSearch disabled
program matrix_multiply
implicit none
integer, parameter :: n = 3
real, dimension(n,n) :: a, b, c
integer :: i, j, k
! Initialize matrices
a = reshape([1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0], [n, n])
b = reshape([9.0, 8.0, 7.0, 6.0, 5.0, 4.0, 3.0, 2.0, 1.0], [n, n])
! Matrix multiplication
do i = 1, n
do j = 1, n
c(i,j) = 0.0
do k = 1, n
c(i,j) = c(i,j) + a(i,k) * b(k,j)
end do
end do
end do
! Print result
print *, 'Result matrix C:'
do i = 1, n
print '(3F8.2)', (c(i,j), j=1,n)
end do
end program matrix_multiply
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)