Matrix  $Rev: 3071 $ at $LastChangedDate: 2015-03-26 15:35:47 +0100 (Thu, 26 Mar 2015) $
sparseQR.h File Reference
#include "Mutils.h"
#include "cs_utils.h"
#include "chm_common.h"
Include dependency graph for sparseQR.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

SEXP sparseQR_coef (SEXP qr, SEXP y)
 
SEXP sparseQR_qty (SEXP qr, SEXP y, SEXP trans, SEXP keep_dimnames)
 Given a sparse QR decomposition and y, compute Q y or Q'y. More...
 
SEXP sparseQR_resid_fitted (SEXP qr, SEXP y, SEXP resid)
 Compute qr.resid(qr, y) or qr.fitted(qr, y) More...
 
SEXP sparseQR_validate (SEXP x)
 

Function Documentation

SEXP sparseQR_coef ( SEXP  qr,
SEXP  y 
)
SEXP sparseQR_qty ( SEXP  qr,
SEXP  y,
SEXP  trans,
SEXP  keep_dimnames 
)

Given a sparse QR decomposition and y, compute Q y or Q'y.

Parameters
qra "sparseQR" object
ya (dense) Matrix
translogical, if TRUE compute Q'y else Q y
Returns
Q'y ("qty") or Qy ("qy")

Definition at line 84 of file sparseQR.c.

References _, EXIT_sparseQR_, INIT_sparseQR_, Matrix_betaSym, Matrix_pSym, and sparseQR_Qmult().

Here is the call graph for this function:

SEXP sparseQR_resid_fitted ( SEXP  qr,
SEXP  y,
SEXP  resid 
)

Compute qr.resid(qr, y) or qr.fitted(qr, y)

Definition at line 186 of file sparseQR.c.

References _, EXIT_sparseQR_, INIT_sparseQR_, Matrix_betaSym, Matrix_pSym, Matrix_xSym, and sparseQR_Qmult().

Here is the call graph for this function:

SEXP sparseQR_validate ( SEXP  x)

Definition at line 3 of file sparseQR.c.

References _, AS_CSP__, cs_sparse::m, Matrix_betaSym, Matrix_pSym, Matrix_VSym, and cs_sparse::n.