Press, W. H. [et al.] Numerical recipes in C++: The art of scientific computing - 2nd ed. - New Delhi Foundation Books 2002 - xxviii, 1002p. ISBN: 81-7596-096-5