Mercurial > octave
diff liboctave/idx-vector.h @ 10475:739109ef88ee
helper idx_vector methods
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Mon, 29 Mar 2010 14:08:30 +0200 |
parents | 0677c5d80b77 |
children | 4e64fbbd5c58 |
line wrap: on
line diff
--- a/liboctave/idx-vector.h Sun Mar 28 19:07:48 2010 +0200 +++ b/liboctave/idx-vector.h Mon Mar 29 14:08:30 2010 +0200 @@ -982,6 +982,10 @@ Array<double>& array, Array<bool>& mask) const; Array<octave_idx_type> as_array (void) const; + + // Raw pointer to index array. This is non-const because it may be necessary + // to mutate the index. + const octave_idx_type *raw (void); // FIXME -- these are here for compatibility. They should be removed // when no longer in use.