I distinctly remember it was the numerical recipes book, and the language used was Fortran 77; so, it was an actual textbook.
However, I really didn't understand much, until my father explained it to me in very simplified terms. The concepts are pretty simple, the details are not.