SCM Repository
[matrix] Diff of /pkg/src/Csparse.c
Diff of /pkg/src/Csparse.c
Parent Directory
|
Revision Log
|
Patch
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.1218 |
|
changed lines |
|
Added in v.1265 |
|
|