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

Go to the source code of this file.

Functions

SEXP compressed_non_0_ij (SEXP x, SEXP colP)
 Return a 2 column matrix '' cbind(i, j) '' of 0-origin index vectors (i,j) which entirely correspond to the (i,j) slots of as(x, "TsparseMatrix") : More...
 
SEXP compressed_to_TMatrix (SEXP x, SEXP colP)
 
SEXP dgCMatrix_cholsol (SEXP x, SEXP y)
 
SEXP dgCMatrix_colSums (SEXP x, SEXP NArm, SEXP spRes, SEXP trans, SEXP means)
 
SEXP dgCMatrix_LU (SEXP Ap, SEXP orderp, SEXP tolp, SEXP error_on_sing, SEXP keep_dimnames)
 
SEXP dgCMatrix_matrix_solve (SEXP Ap, SEXP bp, SEXP give_sparse)
 
SEXP dgCMatrix_QR (SEXP Ap, SEXP order, SEXP keep_dimnames)
 
SEXP dgCMatrix_qrsol (SEXP x, SEXP y, SEXP ord)
 
SEXP igCMatrix_colSums (SEXP x, SEXP NArm, SEXP spRes, SEXP trans, SEXP means)
 
SEXP lgCMatrix_colSums (SEXP x, SEXP NArm, SEXP spRes, SEXP trans, SEXP means)
 
SEXP ngCMatrix_colSums (SEXP x, SEXP NArm, SEXP spRes, SEXP trans, SEXP means)
 
SEXP R_to_CMatrix (SEXP x)
 
SEXP xCMatrix_validate (SEXP x)
 
SEXP xRMatrix_validate (SEXP x)
 

Function Documentation

SEXP compressed_non_0_ij ( SEXP  x,
SEXP  colP 
)

Return a 2 column matrix '' cbind(i, j) '' of 0-origin index vectors (i,j) which entirely correspond to the (i,j) slots of as(x, "TsparseMatrix") :

Definition at line 122 of file dgCMatrix.c.

References expand_cmprPt(), Matrix_DimSym, Matrix_iSym, Matrix_jSym, and Matrix_pSym.

Here is the call graph for this function:

SEXP compressed_to_TMatrix ( SEXP  x,
SEXP  colP 
)
SEXP dgCMatrix_cholsol ( SEXP  x,
SEXP  y 
)

Definition at line 523 of file dgCMatrix.c.

References _, AS_CHM_DN, AS_CHM_SP, c, and chm_factor_to_SEXP().

Here is the call graph for this function:

SEXP dgCMatrix_colSums ( SEXP  x,
SEXP  NArm,
SEXP  spRes,
SEXP  trans,
SEXP  means 
)
SEXP dgCMatrix_LU ( SEXP  Ap,
SEXP  orderp,
SEXP  tolp,
SEXP  error_on_sing,
SEXP  keep_dimnames 
)

Definition at line 446 of file dgCMatrix.c.

References _, get_factors(), and install_lu().

Here is the call graph for this function:

SEXP dgCMatrix_matrix_solve ( SEXP  Ap,
SEXP  bp,
SEXP  give_sparse 
)
SEXP dgCMatrix_qrsol ( SEXP  x,
SEXP  y,
SEXP  ord 
)

Definition at line 169 of file dgCMatrix.c.

References _, AS_CSP, cs_qrsol(), cs_sparse::m, and cs_sparse::n.

Here is the call graph for this function:

SEXP igCMatrix_colSums ( SEXP  x,
SEXP  NArm,
SEXP  spRes,
SEXP  trans,
SEXP  means 
)
SEXP lgCMatrix_colSums ( SEXP  x,
SEXP  NArm,
SEXP  spRes,
SEXP  trans,
SEXP  means 
)

Definition at line 612 of file dgCMatrix.c.

SEXP ngCMatrix_colSums ( SEXP  x,
SEXP  NArm,
SEXP  spRes,
SEXP  trans,
SEXP  means 
)

Definition at line 620 of file dgCMatrix.c.

SEXP R_to_CMatrix ( SEXP  x)
SEXP xCMatrix_validate ( SEXP  x)

Definition at line 11 of file dgCMatrix.c.

References _, Matrix_iSym, and Matrix_xSym.

Referenced by tCMatrix_validate().

Here is the caller graph for this function:

SEXP xRMatrix_validate ( SEXP  x)

Definition at line 23 of file dgCMatrix.c.

References _, Matrix_jSym, and Matrix_xSym.

Referenced by tRMatrix_validate().

Here is the caller graph for this function: