Mercurial > hg > octave-nkf
diff liboctave/dSparse.h @ 8910:6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Thu, 05 Mar 2009 08:34:52 +0100 |
parents | 8b1a2555c4e2 |
children | eb63fbe60fab |
line wrap: on
line diff
--- a/liboctave/dSparse.h +++ b/liboctave/dSparse.h @@ -83,6 +83,8 @@ explicit SparseMatrix (const DiagMatrix& a); + explicit SparseMatrix (const PermMatrix& a); + SparseMatrix (octave_idx_type r, octave_idx_type c, octave_idx_type num_nz) : MSparse<double> (r, c, num_nz) { } SparseMatrix& operator = (const SparseMatrix& a)