SCM

SCM Repository

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

Diff of /pkg/src/Csparse.c

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

revision 1264, Mon May 15 21:05:20 2006 UTC revision 1265, Mon May 15 22:36:59 2006 UTC
# Line 137  Line 137 
137      Free(chx); Free(chy);      Free(chx); Free(chy);
138      return chm_sparse_to_SEXP(ans, 1);      return chm_sparse_to_SEXP(ans, 1);
139  }  }
140    
141    SEXP Csparse_band(SEXP x, SEXP k1, SEXP k2)
142    {
143        cholmod_sparse *chx = as_cholmod_sparse(x), *ans;
144    
145        ans = cholmod_band(chx, asInteger(k1), asInteger(k2), chx->xtype, &c);
146        Free(chx);
147        return chm_sparse_to_SEXP(ans, 1);
148    }

Legend:
Removed from v.1264  
changed lines
  Added in v.1265

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