The R Project SVN R-packages

Rev

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

Rev 4530 Rev 4558
Line 247... Line 247...
247
}
247
}
248
 
248
 
249
SEXP dense_to_Csparse(SEXP x)
249
SEXP dense_to_Csparse(SEXP x)
250
{
250
{
251
    CHM_DN chxd = AS_CHM_DN(PROTECT(mMatrix_as_geMatrix(x)));
251
    CHM_DN chxd = AS_CHM_DN(PROTECT(mMatrix_as_geMatrix(x)));
-
 
252
    R_CheckStack();
252
 
253
 
253
    /* cholmod_dense_to_sparse() in CHOLMOD/Core/ below does only work for
254
    /* cholmod_dense_to_sparse() in CHOLMOD/Core/ below does only work for
254
       "REAL" 'xtypes', i.e. *not* for "nMatrix".
255
       "REAL" 'xtypes', i.e. *not* for "nMatrix".
255
       ===> need "_x" in above call.
256
       ===> need "_x" in above call.
256
 
257