Numerical Recipes: Example Book (FORTRAN)
The example books published as part of the Numerical Recipes, Second Edition series are source programs that demonstrate all of the Numerical Recipes subroutines. Each example program contains comments and is prefaced by a short description of how it functions. The books consist of all of the material from the original edition, as well as new material from the Second Edition. They will be valuable for readers who wish to incorporate procedures and subroutines into their own source programs. They are available in both Fortran and C.
What people are saying - Write a review
We haven't found any reviews in the usual places.
Linear Algebraic Equations
Interpolation and Extrapolation
Integration of Functions
Evaluation of Functions
Fast Fourier Transform
Fourier and Spectral Applications
Statistical Description of Data
Modeling of Data
Ordinary Differential Equations
Integral Equations and Inverse Theory
Partial Differential Equations
11 continue 12 11 continue call 11 continue close(7 11 continue END 13 continue write Bessel Function calculates CHARACTER Chebyshev coefficients compared continue 12 continue continue do 12 continue END SUBROUTINE continue goto data sets data1 decomposition demonstration program deviation Diskette IBM distribution DOUBLE PRECISION driver for routine eigenvalues eigenvectors Elliptic Integral END REAL FUNCTION END Routine endif 11 continue equations error evaluation Example Book EXTERNAL func FORTRAN function values Gaussian goto 10 read(7 grid idum Incomplete gamma function input INTEGER i,j REAL INTEGER i,nval REAL INTEGER NP interpolation interval iterations Julian day linear method mglin NTERM Numerical Recipes nval write open(7,file='FNCVAL.DAT',status='OLD original array original matrix output PARAMETER polynomial Press RETURN problem QR decomposition random number REAL FUNCTION func(x REAL PI return END Right-hand side vector roots Sample program Solution vector sorted array sparse matrix STOP END subroutine tridiagonal tridiagonal matrix zero