Mercurial > octave
diff liboctave/CNDArray.cc @ 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 | ef4c4186cb47 |
line wrap: on
line diff
--- a/liboctave/CNDArray.cc Mon Oct 19 19:17:49 2009 -0700 +++ b/liboctave/CNDArray.cc Tue Oct 20 10:47:22 2009 +0200 @@ -43,6 +43,8 @@ #include "oct-fftw.h" #include "oct-locbuf.h" +#include "bsxfun-defs.cc" + ComplexNDArray::ComplexNDArray (const charNDArray& a) : MArrayN<Complex> (a.dims ()) { @@ -1104,6 +1106,9 @@ return a; } +BSXFUN_STDOP_DEFS_MXLOOP (ComplexNDArray) +BSXFUN_STDREL_DEFS_MXLOOP (ComplexNDArray) + /* ;;; Local Variables: *** ;;; mode: C++ ***