The R Project SVN R-packages

Rev

Rev 3416 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3416 Rev 4565
Line 2... Line 2...
2
#define CS_UTILS_H
2
#define CS_UTILS_H
3
 
3
 
4
#include "cs.h"
4
#include "cs.h"
5
#include "Mutils.h"
5
#include "Mutils.h"
6
 
6
 
7
cs *Matrix_as_cs(SEXP x);
7
typedef cs  *CSP ;
-
 
8
 
8
css *Matrix_as_css(SEXP x);
9
CSP Matrix_as_cs(CSP ans, SEXP x);
-
 
10
SEXP Matrix_cs_to_SEXP(CSP A, char *cl, int dofree);
-
 
11
 
-
 
12
#define AS_CSP(x) Matrix_as_cs((CSP)alloca(sizeof(cs)), x )
-
 
13
 
-
 
14
#if 0				/* unused */
9
csn *Matrix_as_csn(SEXP x);
15
css *Matrix_as_css(css *ans, SEXP x);
10
SEXP Matrix_cs_to_SEXP(cs *A, char *cl, int dofree);
16
csn *Matrix_as_csn(csn *ans, SEXP x);
11
SEXP Matrix_css_to_SEXP(css *S, char *cl, int dofree, int m, int n);
17
SEXP Matrix_css_to_SEXP(css *S, char *cl, int dofree, int m, int n);
12
SEXP Matrix_csn_to_SEXP(csn *N, char *cl, int dofree);
18
SEXP Matrix_csn_to_SEXP(csn *N, char *cl, int dofree);
-
 
19
#endif  
13
 
20
 
14
#endif
21
#endif