How to calculate the lower triangular matrix as in QR factorization in matlab?

1.7k Views Asked by At

Tried >[Q,R] = qr(a)

R is upper triangular part of >qr(a) as qr(a)'s lower triangular part has value but how to calculate the >qr(a).

Would like to do this in F# but Sho library's Q, R are different from matlab, hope there is a way to fix it.

Just type qr(a) but not [Q,R] = qr(a), then you will see qr(a)'s direct result