diff liboctave/chNDArray.h @ 4556:773a21e4fce8

[project @ 2003-10-28 05:02:10 by jwe]
author jwe
date Tue, 28 Oct 2003 05:02:10 +0000
parents 01ee68d18069
children 7b957b442818
line wrap: on
line diff
--- a/liboctave/chNDArray.h	Mon Oct 27 22:17:36 2003 +0000
+++ b/liboctave/chNDArray.h	Tue Oct 28 05:02:10 2003 +0000
@@ -69,8 +69,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;
 
   charMatrix matrix_value (void) const;
 
@@ -80,6 +80,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 charNDArray& a);