diff src/ov-base-sparse.h @ 5900:c20eb7330d13

[project @ 2006-07-22 08:31:16 by jwe]
author jwe
date Sat, 22 Jul 2006 08:31:17 +0000
parents bd3041e30d97
children cdef72fcd206
line wrap: on
line diff
--- a/src/ov-base-sparse.h	Wed Jul 19 23:00:22 2006 +0000
+++ b/src/ov-base-sparse.h	Sat Jul 22 08:31:17 2006 +0000
@@ -146,6 +146,14 @@
 
   bool load_ascii (std::istream& is);
 
+  // Unsafe.  These functions exists to support the MEX interface.
+  // You should not use them anywhere else.
+  void *mex_get_data (void) const { return matrix.mex_get_data (); }
+
+  octave_idx_type *mex_get_ir (void) const { return matrix.mex_get_ir (); }
+
+  octave_idx_type *mex_get_jc (void) const { return matrix.mex_get_jc (); }
+
 protected:
 
   T matrix;