diff liboctave/idx-vector.h @ 10516:f0266ee4aabe

optimize some special indexing & assignment cases
author Jaroslav Hajek <highegg@gmail.com>
date Tue, 13 Apr 2010 14:59:01 +0200
parents aac9f4265048
children b3f511c48b14
line wrap: on
line diff
--- a/liboctave/idx-vector.h	Tue Apr 13 14:56:29 2010 +0200
+++ b/liboctave/idx-vector.h	Tue Apr 13 14:59:01 2010 +0200
@@ -1005,6 +1005,8 @@
   // Raw pointer to index array.  This is non-const because it may be
   // necessary to mutate the index.
   const octave_idx_type *raw (void);
+
+  bool is_vector (void) const;
     
   // FIXME -- these are here for compatibility.  They should be removed
   // when no longer in use.