Is that based on a common book on numerical analysis?<p>Because one thing I&#x27;d miss in the examples would be a few lines of comments - if they&#x27;re meant to be illustrative of a book that&#x27;s ok, but learning the other way (looking at source code, structure and comments) is also a good way for many people to understand. If you&#x27;re well read in source code, you can read it to understand the math better.