Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beliavsky/computer-methods-for-mathematical-computations
Code from the book of the same name by Forsythe, Malcolm, and Moler, translated to Fortran 90 by Ralph Carmichael
https://github.com/beliavsky/computer-methods-for-mathematical-computations
book-code cubic-splines fortran fortran90 linear-algebra minimization numerical-integration numerical-methods ode root-finding svd
Last synced: 10 days ago
JSON representation
Code from the book of the same name by Forsythe, Malcolm, and Moler, translated to Fortran 90 by Ralph Carmichael
- Host: GitHub
- URL: https://github.com/beliavsky/computer-methods-for-mathematical-computations
- Owner: Beliavsky
- License: mit
- Created: 2024-10-27T13:18:05.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-27T21:39:18.000Z (3 months ago)
- Last Synced: 2024-12-03T00:17:48.363Z (2 months ago)
- Topics: book-code, cubic-splines, fortran, fortran90, linear-algebra, minimization, numerical-integration, numerical-methods, ode, root-finding, svd
- Language: Fortran
- Homepage:
- Size: 70.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Computer Methods for Mathematical Computations
Code from the book of the same name by Forsythe, Malcolm, and Moler, translated to Fortran 90 by [Ralph Carmichael](https://www.pdas.com/fmm.html). Compile with `gfortran fmm.f90 testfunctions.f90 samples.f90`. Also compiles and runs with the ifx, ifort, and g95 compilers. The original routines in fixed format are in `original.f`. Below is a list of procedures, taken from [here](https://www.pdas.com/fmm2.html).**Name** Description
**Decomp** LU-decomposition of a square matrix
**Solve** Solves a system of linear equations. Use after Decomp.
**FMMspline** Fit a cubic spline to data. FMM end conditions.
**NaturalSpline** Same as FMMspline, but with zero second derivatives at endpoints.
**Seval** Evaluate a cubic spline at a given point.
**Seval3** Evaluate a cubic spline at a given point. Returns value of spline plus 1st, 2nd, and 3rd derivatives.
**Quanc8** Numerical integration of a function.
**Rkf45** Solves a system of ordinary differential equations as an initial value problem.
**Zeroin** Find a zero of a function.
**BrentZero** Same as Zeroin, but with additional dummy arguments.
**Fmin** Find the minimum of a function.
**BrentMin** Same as Fmin, but with additional dummy arguments.
**SVD** Singular Value Decomposition of a matrix.