Computing The QR Decomposition
There are several methods for actually computing the QR decomposition, such as by means of the Gram–Schmidt process, Householder transformations, or Givens rotations. Each has a number of advantages and disadvantages.
Read more about this topic: QR Decomposition