Mercurial > hg > octave-lyh
diff liboctave/CSparse.h @ 10479:ded9beac7582
optimize sparse matrix assembly
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Wed, 31 Mar 2010 10:03:55 +0200 |
parents | 99e9bae2d81e |
children | 19e1e4470e01 |
line wrap: on
line diff
--- a/liboctave/CSparse.h +++ b/liboctave/CSparse.h @@ -89,6 +89,11 @@ octave_idx_type nc = -1, bool sum_terms = true) : MSparse<Complex> (a, r, c, nr, nc, sum_terms) { } + SparseComplexMatrix (const Array<Complex>& a, const idx_vector& r, + const idx_vector& c, octave_idx_type nr = -1, + octave_idx_type nc = -1, bool sum_terms = true) + : MSparse<Complex> (a, r, c, nr, nc, sum_terms) { } + explicit SparseComplexMatrix (const SparseMatrix& a); explicit SparseComplexMatrix (const SparseBoolMatrix& a);