diff src/Cell.h @ 3354:87721841efd7

[project @ 1999-11-17 19:06:11 by jwe]
author jwe
date Wed, 17 Nov 1999 19:06:15 +0000
parents 6b36317855ff
children e8627dc4bdf2
line wrap: on
line diff
--- a/src/Cell.h
+++ b/src/Cell.h
@@ -46,6 +46,9 @@
   Cell (int n, int m, const octave_value& val = octave_value ())
     : data (n, m, val) { }
 
+  Cell (const Array2<octave_value>& c)
+    : data (c) { }
+
   Cell (const Cell& c)
     : data (c.data) { }
 
@@ -75,6 +78,10 @@
 
   octave_value elem (int i, int j) const { return data.elem (i, j); }
 
+  Cell index (idx_vector& i) const;
+
+  Cell index (idx_vector& i, idx_vector& j) const;
+
 private:
 
   static octave_allocator allocator;