PPT Slide
C.9
FORTRAN
C FORM PARTIAL SUMS
C
SUBROUTINE PARSUM(A, B, N)
REAL A(N), B(N)
SUM = 0
DO 10 I = 1 , N
SUM = SUM + A(I)
B(I) = SUM
10 CONTINUE
RETURN
END
scientific computation, real and complex
easy-to-use, but powerful I/O facilities
compilers for efficient parallel code
lots of existing programs and libraries
Previous slide
Next slide
Back to first slide
View graphic version