Mercurial > hg > octave-lyh
diff src/ov.h @ 4915:c638c144d4da
[project @ 2004-07-23 19:01:22 by jwe]
author | jwe |
---|---|
date | Fri, 23 Jul 2004 19:01:23 +0000 |
parents | 14027e0bafa4 |
children | 90f51232d751 |
line wrap: on
line diff
--- a/src/ov.h +++ b/src/ov.h @@ -84,6 +84,9 @@ typedef octave_value (*binary_op_fcn) (const octave_value&, const octave_value&); +typedef octave_value (*cat_op_fcn) + (const octave_value&, const octave_value&, const Array<int>& ra_idx); + typedef octave_value (*assign_op_fcn) (octave_value&, const octave_value_list&, const octave_value&); @@ -367,6 +370,9 @@ octave_value ipermute (const Array<int>& vec) const { return rep->permute (vec, true); } + virtual octave_value resize (const dim_vector& dv) const + { return rep->resize (dv);} + // Does this constant have a type? Both of these are provided since // it is sometimes more natural to write is_undefined() instead of // ! is_defined(). @@ -711,6 +717,10 @@ const octave_value& a, const octave_value& b); + friend octave_value do_cat_op (const octave_value& a, + const octave_value& b, + const Array<int>& ra_idx); + const octave_value& get_rep (void) const { return *rep; } virtual void print_info (std::ostream& os,