https://123dok.net/document/qvl53mly-algorithms-computing-qr-decomposition-set-matrices-common-columns.html