Numerical recipes in C (1992)

by William H Press, Saul A Teukolsky, William T Vetterling, Brian P Flannery