Matrix r5059
Loading...
Searching...
No Matches
Csparse.c File Reference
#include "Mdefines.h"
#include "cs-etc.h"
#include "cholmod-etc.h"

Go to the source code of this file.

Functions

SEXP checkpi (SEXP dim, SEXP p, SEXP i)
 
SEXP CsparseMatrix_validate_maybe_sorting (SEXP x)
 
SEXP dgCMatrix_lusol (SEXP a, SEXP b)
 
SEXP dgCMatrix_qrsol (SEXP a, SEXP b, SEXP order)
 
SEXP dgCMatrix_cholsol (SEXP at, SEXP b)
 
static int strmatch (const char *x, const char **valid)
 
SEXP dtCMatrix_diag (SEXP obj, SEXP op)
 
SEXP Csparse_dmperm (SEXP x, SEXP nans, SEXP seed)
 
SEXP Csparse_writeMM (SEXP obj, SEXP file)
 

Function Documentation

◆ checkpi()

SEXP checkpi ( SEXP dim,
SEXP p,
SEXP i )

Definition at line 6 of file Csparse.c.

References _, errorString, and TYPEOF.

Referenced by CsparseMatrix_validate_maybe_sorting(), and sexp_as_cholmod_sparse().

◆ Csparse_dmperm()

◆ Csparse_writeMM()

SEXP Csparse_writeMM ( SEXP obj,
SEXP file )

◆ CsparseMatrix_validate_maybe_sorting()

SEXP CsparseMatrix_validate_maybe_sorting ( SEXP x)

Definition at line 64 of file Csparse.c.

References _, c, checkpi(), GET_SLOT, M2CHS(), Matrix_DimSym, Matrix_iSym, Matrix_pSym, and TYPEOF.

◆ dgCMatrix_cholsol()

SEXP dgCMatrix_cholsol ( SEXP at,
SEXP b )

Definition at line 130 of file Csparse.c.

References _, c, CHF2M(), and M2CHS().

◆ dgCMatrix_lusol()

SEXP dgCMatrix_lusol ( SEXP a,
SEXP b )

◆ dgCMatrix_qrsol()

SEXP dgCMatrix_qrsol ( SEXP a,
SEXP b,
SEXP order )

◆ dtCMatrix_diag()

SEXP dtCMatrix_diag ( SEXP obj,
SEXP op )

Definition at line 211 of file Csparse.c.

References _, GET_SLOT, Matrix_permSym, Matrix_pSym, Matrix_uploSym, Matrix_xSym, strmatch(), and TYPEOF.

◆ strmatch()

static int strmatch ( const char * x,
const char ** valid )
static

Definition at line 199 of file Csparse.c.

Referenced by dtCMatrix_diag().