Mercurial > hg > octave-lyh
diff liboctave/boolNDArray.h @ 9743:26abff55f6fe
optimize bsxfun for common built-in operations
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Tue, 20 Oct 2009 10:47:22 +0200 |
parents | b4fdfee405b5 |
children | ead4f9c82a9a |
line wrap: on
line diff
--- a/liboctave/boolNDArray.h +++ b/liboctave/boolNDArray.h @@ -27,9 +27,11 @@ #include "mx-defs.h" #include "mx-op-decl.h" +#include "bsxfun-decl.h" #include "boolMatrix.h" + class OCTAVE_API boolNDArray : public Array<bool> @@ -137,6 +139,9 @@ extern OCTAVE_API boolNDArray& mx_el_or_assign (boolNDArray& m, const boolNDArray& a); +BSXFUN_OP_DECL (and, boolNDArray, OCTAVE_API); +BSXFUN_OP_DECL (or, boolNDArray, OCTAVE_API); + #endif /*