Matrix  $Rev: 3071 $ at $LastChangedDate: 2015-03-26 15:35:47 +0100 (Thu, 26 Mar 2015) $
dtCMatrix.c File Reference
#include "dtCMatrix.h"
#include "cs_utils.h"
Include dependency graph for dtCMatrix.c:

Go to the source code of this file.

Macros

#define RETURN(_CH_)    UNPROTECT(1); return (_CH_);
 

Functions

SEXP dtCMatrix_matrix_solve (SEXP a, SEXP b, SEXP classed)
 
SEXP dtCMatrix_sparse_solve (SEXP a, SEXP b)
 
SEXP tCMatrix_validate (SEXP x)
 
SEXP tRMatrix_validate (SEXP x)
 

Macro Definition Documentation

#define RETURN (   _CH_)    UNPROTECT(1); return (_CH_);

Function Documentation

SEXP dtCMatrix_matrix_solve ( SEXP  a,
SEXP  b,
SEXP  classed 
)

Definition at line 77 of file dtCMatrix.c.

References _, ALLOC_SLOT(), AS_CSP, cl, cs_lsolve(), cs_usolve(), Matrix_DimNamesSym, Matrix_DimSym, Matrix_xSym, RETURN, and uplo_P.

Here is the call graph for this function:

SEXP dtCMatrix_sparse_solve ( SEXP  a,
SEXP  b 
)

Definition at line 114 of file dtCMatrix.c.

References _, ALLOC_SLOT(), AS_CSP, cs_spsolve(), cs_sparse::m, Matrix_DimNamesSym, Matrix_DimSym, Matrix_iSym, Matrix_pSym, Matrix_xSym, cs_sparse::n, RETURN, slot_dup, and uplo_P.

Here is the call graph for this function:

SEXP tCMatrix_validate ( SEXP  x)

Definition at line 8 of file dtCMatrix.c.

References _, expand_cmprPt(), Matrix_iSym, Matrix_pSym, RETURN, uplo_P, and xCMatrix_validate().

Here is the call graph for this function:

SEXP tRMatrix_validate ( SEXP  x)

Definition at line 43 of file dtCMatrix.c.

References _, expand_cmprPt(), Matrix_jSym, Matrix_pSym, RETURN, uplo_P, and xRMatrix_validate().

Here is the call graph for this function: