diff liboctave/dNDArray.h @ 13005:4061106b1c4b

Enable automatic bsxfun for power operators * bsxfun.h: Put #include guards * int8NDArray.cc: Define bsxfun power operator for integral types. * int16NDArray.cc: Ditto. * int32NDArray.cc: Ditto. * int64NDArray.cc: fDitto. * uint8ADArray.cc: Ditto. * uint16NDArray.cc: Ditto. * uint32NDArray.cc: Ditto. * uint64NDArray.cc: Ditto. * mx-inlines.cc: Let the compiler decide to use Octave's own integral pow. * op-int.h: Call bsxfun for integral operators. * xpow.cc: Call bsxfun for float operators.
author Jordi Gutiérrez Hermoso <jordigh@gmail.com>
date Wed, 24 Aug 2011 23:12:28 -0500
parents 12df7854fa7c
children 6dfebfa334cb
line wrap: on
line diff
--- a/liboctave/dNDArray.h	Wed Aug 24 23:06:59 2011 -0500
+++ b/liboctave/dNDArray.h	Wed Aug 24 23:12:28 2011 -0500
@@ -185,5 +185,7 @@
 BSXFUN_OP_DECL (pow, NDArray, OCTAVE_API)
 BSXFUN_OP2_DECL (pow, ComplexNDArray, ComplexNDArray,
                  NDArray, OCTAVE_API)
+BSXFUN_OP2_DECL (pow, ComplexNDArray, NDArray,
+                 ComplexNDArray, OCTAVE_API)
 
 #endif