Mercurial > hg > octave-terminal
changeset 9789:97f5de91427b
support sparse templated extractors
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Mon, 09 Nov 2009 10:21:31 +0100 |
parents | e3e5d43d9d4c |
children | a5035bc7fbfb |
files | liboctave/ChangeLog src/ChangeLog src/ov.h |
diffstat | 3 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,10 @@ +2009-11-09 Jaroslav Hajek <highegg@gmail.com> + + * dSparse.h (Sparse::max): Use Array<octave_idx_type>. + * dSparse.cc: Update. + * CSparse.h (Sparse::max): Use Array<octave_idx_type>. + * CSparse.cc: Update. + 2009-11-03 Jaroslav Hajek <highegg@gmail.com> * oct-mem.h: Rename octave_ucopy -> copy_or_memcpy,
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2009-11-09 Jaroslav Hajek <highegg@gmail.com> + + * ov.h: Add sparse matrix extractors. + 2009-11-09 John W. Eaton <jwe@octave.org> * DLD-FUNCTIONS/__delaunayn__.cc, DLD-FUNCTIONS/__dsearchn__.cc,
--- a/src/ov.h +++ b/src/ov.h @@ -1329,6 +1329,9 @@ DEF_VALUE_EXTRACTOR (FloatComplexDiagMatrix, float_complex_diag_matrix) DEF_VALUE_EXTRACTOR (PermMatrix, perm_matrix) +DEF_VALUE_EXTRACTOR (SparseMatrix, sparse_matrix) +DEF_VALUE_EXTRACTOR (SparseComplexMatrix, sparse_complex_matrix) +DEF_VALUE_EXTRACTOR (SparseBoolMatrix, sparse_bool_matrix) #undef DEF_VALUE_EXTRACTOR #endif