Matrix  $Rev: 3071 $ at $LastChangedDate: 2015-03-26 15:35:47 +0100 (Thu, 26 Mar 2015) $
cs_utils.h
Go to the documentation of this file.
1 #ifndef CS_UTILS_H
2 #define CS_UTILS_H
3 
4 #include "cs.h"
5 #include "Mutils.h"
6 
7 typedef cs *CSP ;
8 
9 CSP Matrix_as_cs(CSP ans, SEXP x, Rboolean check_Udiag);
10 SEXP Matrix_cs_to_SEXP(CSP A, char *cl, int dofree, SEXP dn);
11 
12 #define AS_CSP(x) Matrix_as_cs((CSP)alloca(sizeof(cs)), x, TRUE)
13 #define AS_CSP__(x) Matrix_as_cs((CSP)alloca(sizeof(cs)), x, FALSE)
14 
15 #if 0 /* unused */
16 css *Matrix_as_css(css *ans, SEXP x);
17 csn *Matrix_as_csn(csn *ans, SEXP x);
18 SEXP Matrix_css_to_SEXP(css *S, char *cl, int dofree, int m, int n);
19 SEXP Matrix_csn_to_SEXP(csn *N, char *cl, int dofree);
20 #endif
21 
22 #endif
SEXP Matrix_cs_to_SEXP(CSP A, char *cl, int dofree, SEXP dn)
cholmod_common cl
Definition: chm_common.c:16
Definition: cs.h:79
Definition: cs.h:33
cs * CSP
Definition: cs_utils.h:7
CSP Matrix_as_cs(CSP ans, SEXP x, Rboolean check_Udiag)
Definition: cs.h:67