Mercurial > hg > octave-lyh
comparison liboctave/int64NDArray.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 |
comparison
equal
deleted
inserted
replaced
13004:d9d65c3017c3 | 13005:4061106b1c4b |
---|---|
52 | 52 |
53 MINMAX_FCNS (int64NDArray, octave_int64) | 53 MINMAX_FCNS (int64NDArray, octave_int64) |
54 | 54 |
55 BSXFUN_STDOP_DEFS_MXLOOP (int64NDArray) | 55 BSXFUN_STDOP_DEFS_MXLOOP (int64NDArray) |
56 BSXFUN_STDREL_DEFS_MXLOOP (int64NDArray) | 56 BSXFUN_STDREL_DEFS_MXLOOP (int64NDArray) |
57 | |
58 BSXFUN_OP_DEF_MXLOOP (pow, int64NDArray, mx_inline_pow) |