SCM

SCM Repository

[matrix] Diff of /pkg/Matrix/src/factorizations.c
ViewVC logotype

Diff of /pkg/Matrix/src/factorizations.c

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

revision 2586, Sun Jul 25 02:32:06 2010 UTC revision 2645, Mon Feb 21 10:57:47 2011 UTC
# Line 33  Line 33 
33  SEXP LU_expand(SEXP x)  SEXP LU_expand(SEXP x)
34  {  {
35      const char *nms[] = {"L", "U", "P", ""};      const char *nms[] = {"L", "U", "P", ""};
36      SEXP L, U, P, val = PROTECT(Matrix_make_named(VECSXP, nms)),      SEXP L, U, P, val = PROTECT(Rf_mkNamed(VECSXP, nms)),
37          lux = GET_SLOT(x, Matrix_xSym),          lux = GET_SLOT(x, Matrix_xSym),
38          dd = GET_SLOT(x, Matrix_DimSym);          dd = GET_SLOT(x, Matrix_DimSym);
39      int *iperm, *perm, *pivot = INTEGER(GET_SLOT(x, Matrix_permSym)),      int *iperm, *perm, *pivot = INTEGER(GET_SLOT(x, Matrix_permSym)),

Legend:
Removed from v.2586  
changed lines
  Added in v.2645

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge