powered by
Decompose a matrix into a Lower triangular matrix L and an orthogonal matrix Q
LQdecompose(mat)
a matrix of real numbers
list containing L and Q matrices
# NOT RUN { LQdecompose(rbind(c(2,-2,18),c(2,1,0),c(1,2,0))) # }
Run the code above in your browser using DataLab