Computing QR factorizations
QR factorization can be computed with Gram-Schmidt process. This section of the book shows how this is down mechanically using Householder reflections.
Householder reflections
Px=x−2v(vTx)
This is a reflection of x about the hyperplane with normal vector v