diff liboctave/dNDArray.h @ 9827:c15a5ed0da58

optimize bsxfun (@power, ...)
author Jaroslav Hajek <highegg@gmail.com>
date Wed, 18 Nov 2009 12:03:07 +0100
parents f80c566bc751
children 4c0cdbe0acca
line wrap: on
line diff
--- a/liboctave/dNDArray.h	Wed Nov 18 11:17:54 2009 +0100
+++ b/liboctave/dNDArray.h	Wed Nov 18 12:03:07 2009 +0100
@@ -82,6 +82,7 @@
   bool all_elements_are_zero (void) const;
   bool all_elements_are_int_or_inf_or_nan (void) const;
   bool all_integers (double& max_val, double& min_val) const;
+  bool all_integers (void) const;
   bool too_large_for_float (void) const;
 
   // FIXME -- this is not quite the right thing.
@@ -191,6 +192,10 @@
 BSXFUN_STDOP_DECLS (NDArray, OCTAVE_API)
 BSXFUN_STDREL_DECLS (NDArray, OCTAVE_API)
 
+BSXFUN_OP_DECL (pow, NDArray, OCTAVE_API)
+BSXFUN_OP2_DECL (pow, ComplexNDArray, ComplexNDArray, 
+                 NDArray, OCTAVE_API)
+
 #endif
 
 /*