Mercurial > hg > octave-nkf
diff liboctave/dSparse.h @ 9790:a5035bc7fbfb
rewrite dispatch part & slightly improve min,max,cummin,cummax
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Mon, 09 Nov 2009 13:09:49 +0100 |
parents | 91d53dc37f79 |
children | f80c566bc751 |
line wrap: on
line diff
--- a/liboctave/dSparse.h +++ b/liboctave/dSparse.h @@ -99,10 +99,10 @@ bool is_symmetric (void) const; - SparseMatrix max (int dim = 0) const; - SparseMatrix max (Array2<octave_idx_type>& index, int dim = 0) const; - SparseMatrix min (int dim = 0) const; - SparseMatrix min (Array2<octave_idx_type>& index, int dim = 0) const; + SparseMatrix max (int dim = -1) const; + SparseMatrix max (Array<octave_idx_type>& index, int dim = -1) const; + SparseMatrix min (int dim = -1) const; + SparseMatrix min (Array<octave_idx_type>& index, int dim = -1) const; // destructive insert/delete/reorder operations