diff src/ov.h @ 4593:77566be8b9e9

[project @ 2003-11-11 17:25:42 by jwe]
author jwe
date Tue, 11 Nov 2003 17:25:42 +0000
parents 7b957b442818
children cba347c642e2
line wrap: on
line diff
--- a/src/ov.h	Tue Nov 11 01:13:10 2003 +0000
+++ b/src/ov.h	Tue Nov 11 17:25:42 2003 +0000
@@ -332,6 +332,12 @@
   virtual octave_value reshape (const dim_vector& dv) const
     { return rep->reshape (dv); }
 
+  virtual octave_value permute (const Array<int>& vec, bool inv = false) const
+    { return rep->permute (vec, inv); }
+
+  octave_value ipermute (const Array<int>& vec) const
+    { return rep->permute (vec, true); }
+
   // 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().