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

Go to the source code of this file.


#define AS_CSP(x)    Matrix_as_cs((CSP)alloca(sizeof(cs)), x, TRUE)
#define AS_CSP__(x)   Matrix_as_cs((CSP)alloca(sizeof(cs)), x, FALSE)


typedef csCSP


CSP Matrix_as_cs (CSP ans, SEXP x, Rboolean check_Udiag)
SEXP Matrix_cs_to_SEXP (CSP A, char *cl, int dofree, SEXP dn)

Macro Definition Documentation

#define AS_CSP (   x)    Matrix_as_cs((CSP)alloca(sizeof(cs)), x, TRUE)

Definition at line 12 of file cs_utils.h.

Referenced by dgCMatrix_qrsol(), dtCMatrix_matrix_solve(), and dtCMatrix_sparse_solve().

#define AS_CSP__ (   x)    Matrix_as_cs((CSP)alloca(sizeof(cs)), x, FALSE)

Typedef Documentation

typedef cs* CSP

Definition at line 7 of file cs_utils.h.

Function Documentation

CSP Matrix_as_cs ( CSP  ans,
SEXP  x,
Rboolean  check_Udiag 
SEXP Matrix_cs_to_SEXP ( CSP  A,
char *  cl,
int  dofree,
SEXP  dn