SCM

SCM Repository

[matrix] Diff of /pkg/src/chm_common.h
ViewVC logotype

Diff of /pkg/src/chm_common.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2222, Fri Jul 18 10:00:25 2008 UTC revision 2223, Fri Jul 18 23:04:48 2008 UTC
# Line 16  Line 16 
16  /* NOTE: Versions of these are *EXPORTED* via ../inst/include/Matrix.h  /* NOTE: Versions of these are *EXPORTED* via ../inst/include/Matrix.h
17   * ----  and used e.g., in the lme4 package   * ----  and used e.g., in the lme4 package
18   */   */
19  CHM_SP as_cholmod_sparse (CHM_SP ans, SEXP x);  CHM_SP as_cholmod_sparse (CHM_SP ans, SEXP x, Rboolean check_Udiag);
20  CHM_TR as_cholmod_triplet(CHM_TR ans, SEXP x);  CHM_TR as_cholmod_triplet(CHM_TR ans, SEXP x, Rboolean check_Udiag);
21  CHM_DN as_cholmod_dense  (CHM_DN ans, SEXP x);  CHM_DN as_cholmod_dense  (CHM_DN ans, SEXP x);
22  CHM_DN as_cholmod_x_dense(CHM_DN ans, SEXP x);  CHM_DN as_cholmod_x_dense(CHM_DN ans, SEXP x);
23  CHM_DN numeric_as_chm_dense(CHM_DN ans, double *v, int nr, int nc);  CHM_DN numeric_as_chm_dense(CHM_DN ans, double *v, int nr, int nc);
# Line 25  Line 25 
25    
26  #define AS_CHM_DN(x) as_cholmod_dense  ((CHM_DN)alloca(sizeof(cholmod_dense)), x )  #define AS_CHM_DN(x) as_cholmod_dense  ((CHM_DN)alloca(sizeof(cholmod_dense)), x )
27  #define AS_CHM_FR(x) as_cholmod_factor ((CHM_FR)alloca(sizeof(cholmod_factor)), x )  #define AS_CHM_FR(x) as_cholmod_factor ((CHM_FR)alloca(sizeof(cholmod_factor)), x )
28  #define AS_CHM_SP(x) as_cholmod_sparse ((CHM_SP)alloca(sizeof(cholmod_sparse)), x )  #define AS_CHM_SP(x) as_cholmod_sparse ((CHM_SP)alloca(sizeof(cholmod_sparse)), x, TRUE)
29  #define AS_CHM_TR(x) as_cholmod_triplet((CHM_TR)alloca(sizeof(cholmod_triplet)), x )  #define AS_CHM_TR(x) as_cholmod_triplet((CHM_TR)alloca(sizeof(cholmod_triplet)),x, TRUE)
30    /* the non-diagU2N-checking versions : */
31    #define AS_CHM_SP__(x) as_cholmod_sparse ((CHM_SP)alloca(sizeof(cholmod_sparse)), x, FALSE)
32    #define AS_CHM_TR__(x) as_cholmod_triplet((CHM_TR)alloca(sizeof(cholmod_triplet)), x, FALSE)
33    
34    
35  #define N_AS_CHM_DN(x,nr,nc) M_numeric_as_chm_dense((CHM_DN)alloca(sizeof(cholmod_dense)), x , nr, nc )  #define N_AS_CHM_DN(x,nr,nc) M_numeric_as_chm_dense((CHM_DN)alloca(sizeof(cholmod_dense)), x , nr, nc )
36    
37  int R_cholmod_start(CHM_CM Common);  int R_cholmod_start(CHM_CM Common);

Legend:
Removed from v.2222  
changed lines
  Added in v.2223

R-Forge@R-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business University of Wisconsin - Madison Powered By FusionForge