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 2298, Fri Oct 17 13:45:12 2008 UTC revision 2299, Fri Oct 17 16:07:38 2008 UTC
# Line 25  Line 25 
25  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);
26  CHM_FR as_cholmod_factor (CHM_FR ans, SEXP x);  CHM_FR as_cholmod_factor (CHM_FR ans, SEXP x);
27    
28    /* Deep copy to a cholmod_l struct, not just copying pointers.
29     * Must be freed with cholmod_l_free_sparse.
30     * Maybe not.  Need more discussion.
31    CHM_SP SEXP_to_cholmod_l_sparse(SEXP x);
32     */
33    
34  #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 )
35  #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 )
36  #define AS_CHM_SP(x) as_cholmod_sparse ((CHM_SP)alloca(sizeof(cholmod_sparse)), x, TRUE, FALSE)  #define AS_CHM_SP(x) as_cholmod_sparse ((CHM_SP)alloca(sizeof(cholmod_sparse)), x, TRUE, FALSE)

Legend:
Removed from v.2298  
changed lines
  Added in v.2299

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