I think you should use qrfact(A,value{true}):
http://docs.julialang.org/en/release-0.4/stdlib/linalg/?highlight=qrfact#Base.qrfact
On Wed, Sep 7, 2016 at 3:37 AM, Stuart Brorson wrote:
> Hello Julia users,
>
> Matlab has a variant of the QR decomposition invoked like this:
>
> [Q,R,P] = qr(A)
>
Hello Julia users,
Matlab has a variant of the QR decomposition invoked like this:
[Q,R,P] = qr(A)
This variant of qr() returns matrix R where the diagonal elements are
sorted from largest to smallest magnitude as you go from upper left to
lower right. The matrix P is the permutation matrix wh