SCM

SCM Repository

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

Diff of /pkg/src/dgCMatrix.c

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

revision 1672, Mon Nov 6 20:25:10 2006 UTC revision 1673, Mon Nov 6 20:54:26 2006 UTC
# Line 195  Line 195 
195    
196  SEXP dgCMatrix_matrix_solve(SEXP Ap, SEXP b)  SEXP dgCMatrix_matrix_solve(SEXP Ap, SEXP b)
197  {  {
198        /* b is dense or NULL [ <--> solve(A) */
199      SEXP lu = dgCMatrix_LU(Ap, ScalarLogical(1), ScalarReal(1));      SEXP lu = dgCMatrix_LU(Ap, ScalarLogical(1), ScalarReal(1));
200      SEXP qslot = GET_SLOT(lu, install("q"));      SEXP qslot = GET_SLOT(lu, install("q"));
201      cs  *L = Matrix_as_cs(GET_SLOT(lu, install("L"))),      cs  *L = Matrix_as_cs(GET_SLOT(lu, install("L"))),

Legend:
Removed from v.1672  
changed lines
  Added in v.1673

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