Defines functions GQR

Documented in GQR

GQR = function(x,y){

    stop("'x' and 'y' must have same rows number.")


  Q = householder(y)$Q
  S = householder(y)$R

  W = RQ( t(Q) %*% x )$Q
  R = RQ( t(Q) %*% x )$R

  list("Let Q,W orthogonal matrices and R,S upper trapezoidal matrices, it follows A^T=QR and B^T=QSW.",

Try the LSE package in your browser

Any scripts or data that you put into this service are public.

LSE documentation built on Feb. 2, 2022, 5:07 p.m.