Skip to content

Latest commit

 

History

History
67 lines (49 loc) · 3.69 KB

File metadata and controls

67 lines (49 loc) · 3.69 KB

coding-the-matrix

Coding work for the book from http://codingthematrix.com/.

While this does have some overlap with the Coursera course, the exercises tend to be more involved.

Code written using Python 3.5.4 on OSX using the Anaconda distribution.

Each chapter's work is setup in a corresponding python package chapter/#

So to use you would type something like:

>>> from chapter.0 import dictutil
>>> [dictutil.row(p, 20) for p in range(15)]

Comments

  • itertools has been useful for many different problems
  • Given all the issues with floating point arithmetic, should use the Decimal module instead.
  • Sections entitled Problem X.Y.Z are exercises for the reader.
  • Problem 2.14.10 the Vec class should be implemented earlier in the chapter.
  • Problem 4.17.12 the Mat class should be implemented earlier in the chapter.
  • solver.py module implementation is based 64 encoded pyc. No comments explaining why.
  • 5.11 The Exchange Lemma is not well explained. It could use a concrete example before Problem 5.14.11
  • 9.2.2 Augmenting project_orthogonal goes way off the reservation:
    • The Mathese vs Python array indexing syntax of one versus zero, respectively is annoying. That this section announces the Mathese therein will use zero is simply maddening.
    • Then telling the reader about what's Pythonic or not, is even nuttier.

Kindle Version Bugs

  • OSX copy paste is a clown show.
    • Never clear when it's possible to copy or not.
    • Copying includes the copy right text.
  • Missing Images
    • p 484
    • p 499-500 Fourier Transformations & Charting Waves

Errors Found

All of the following have also been sent to info@codingthematrix.com

A ^ at the end of a line indicates a "confirmed" response.