powered by
Computes the QR decomposition of a matrix.
qrD(x, tol = 1e-07)
A matrix whose QR decomposition is to be computed.
The tolerance for finding linear dependence in columns of x.
x
A list of two matrices: Q and R.
Calls function qr and returns more understandable output.
qr
# NOT RUN { hilbert <- function(n) { i <- 1:n; 1/outer(i-1,i,"+") } h5 <- hilbert(5); qrD(h5) # }
Run the code above in your browser using DataLab