Hi,
I am trying to replicate MATLAB's implementation of its "mldivide" function that solves a linear system using the QR factorization with column pivoting.
Hence, x = A\b; would be the solution.
MATLAB mentions that is uses DGEQP3, DORMQR, and DTRTRS LAPACK routines to accomplish this. I was wondering how I should go about using the 3 aforementioned LAPACK routines, to recreate the MATLAB results.
Any help will be appreciated.
Thanks

