Mercurial > hg > octave-lyh
comparison liboctave/int16NDArray.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 | 7dafdb8b062f |
children | 4c0cdbe0acca |
comparison
equal
deleted
inserted
replaced
9742:9f8ff01abc65 | 9743:26abff55f6fe |
---|---|
27 | 27 |
28 #include "int16NDArray.h" | 28 #include "int16NDArray.h" |
29 #include "mx-op-defs.h" | 29 #include "mx-op-defs.h" |
30 #include "intNDArray.cc" | 30 #include "intNDArray.cc" |
31 | 31 |
32 #include "bsxfun-defs.cc" | |
33 | |
32 template class OCTAVE_API intNDArray<octave_int16>; | 34 template class OCTAVE_API intNDArray<octave_int16>; |
33 | 35 |
34 template OCTAVE_API | 36 template OCTAVE_API |
35 std::ostream& | 37 std::ostream& |
36 operator << (std::ostream& os, const intNDArray<octave_int16>& a); | 38 operator << (std::ostream& os, const intNDArray<octave_int16>& a); |
48 NDND_CMP_OPS (int16NDArray, int16NDArray) | 50 NDND_CMP_OPS (int16NDArray, int16NDArray) |
49 NDND_BOOL_OPS (int16NDArray, int16NDArray) | 51 NDND_BOOL_OPS (int16NDArray, int16NDArray) |
50 | 52 |
51 MINMAX_FCNS (int16) | 53 MINMAX_FCNS (int16) |
52 | 54 |
55 BSXFUN_STDOP_DEFS_MXLOOP (int16NDArray) | |
56 BSXFUN_STDREL_DEFS_MXLOOP (int16NDArray) | |
57 | |
53 /* | 58 /* |
54 ;;; Local Variables: *** | 59 ;;; Local Variables: *** |
55 ;;; mode: C++ *** | 60 ;;; mode: C++ *** |
56 ;;; End: *** | 61 ;;; End: *** |
57 */ | 62 */ |