powered by
Orthogonalization using Givens' method.
givens_orth(X, nullspace = FALSE)
A list with components Q, R, as normally defined, and if nullspace is TRUE a further component N giving the basis for the requested null space of X
a numeric matrix with ncol(X) <= nrow(X)
logical: do you want an orthogonal basis for the null space?
set.seed(1234) X <- matrix(rnorm(7*6), 7) givens_orth(X, nullspace = TRUE)
Run the code above in your browser using DataLab