diff liboctave/int8NDArray.cc @ 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 fd0a3ac60b0e
children 15eefbd9d4e8
line wrap: on
line diff
--- a/liboctave/int8NDArray.cc	Wed Aug 24 23:06:59 2011 -0500
+++ b/liboctave/int8NDArray.cc	Wed Aug 24 23:12:28 2011 -0500
@@ -54,3 +54,5 @@
 
 BSXFUN_STDOP_DEFS_MXLOOP (int8NDArray)
 BSXFUN_STDREL_DEFS_MXLOOP (int8NDArray)
+
+BSXFUN_OP_DEF_MXLOOP (pow, int8NDArray, mx_inline_pow)