Nothing
QR <-
function(X){
n <- dim(X)[1]
if(dim(X)[2]!=n)stop("Applies only to quadratic matrices \n")
Ident <- diag(n)
Q <- Ident
R <- X
Emark <- X
for(j in 1:(n-1)){
Emark <- R[j:n,j:n]
Qmark <- .householder(Emark[,1])
Q1 <- Ident
Q1[j:n,j:n] <- Qmark
R <- Q1%*%R
Q <- Q%*%Q1
}
return(list(Q=Q,R=R))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.