Text this: Introduction to applied linear algebra [electronic resource] : vectors, matrices, and least squares / Stephen Boyd, Lieven Vandenberghe.