Mercurial > hg > octave-nkf
diff liboctave/dNDArray.h @ 4556:773a21e4fce8
[project @ 2003-10-28 05:02:10 by jwe]
author | jwe |
---|---|
date | Tue, 28 Oct 2003 05:02:10 +0000 |
parents | 79df15d4470c |
children | 01e4957409a4 |
line wrap: on
line diff
--- a/liboctave/dNDArray.h +++ b/liboctave/dNDArray.h @@ -72,8 +72,8 @@ // XXX FIXME XXX -- this is not quite the right thing. - boolMatrix all (int dim = -1) const; - boolMatrix any (int dim = -1) const; + boolNDArray all (int dim = -1) const; + boolNDArray any (int dim = -1) const; Matrix matrix_value (void) const; @@ -83,6 +83,9 @@ const dim_vector& dimensions, int start_dimension = 0); + static int compute_index (Array<int>& ra_idx, + const dim_vector& dimensions); + // i/o // friend std::ostream& operator << (std::ostream& os, const NDArray& a);