Mercurial > hg > octave-nkf
annotate liboctave/int16NDArray.cc @ 12283:0664a7ddd944 release-3-4-x
README.MacOS: Spelling corrections.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Fri, 28 Jan 2011 22:27:17 -0500 |
parents | fd0a3ac60b0e |
children | 4061106b1c4b |
rev | line source |
---|---|
4902 | 1 // N-D Array manipulations. |
2 /* | |
3 | |
11523 | 4 Copyright (C) 2004-2011 John W. Eaton |
4902 | 5 |
6 This file is part of Octave. | |
7 | |
8 Octave is free software; you can redistribute it and/or modify it | |
9 under the terms of the GNU General Public License as published by the | |
7016 | 10 Free Software Foundation; either version 3 of the License, or (at your |
11 option) any later version. | |
4902 | 12 |
13 Octave is distributed in the hope that it will be useful, but WITHOUT | |
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
16 for more details. | |
17 | |
18 You should have received a copy of the GNU General Public License | |
7016 | 19 along with Octave; see the file COPYING. If not, see |
20 <http://www.gnu.org/licenses/>. | |
4902 | 21 |
22 */ | |
23 | |
24 #ifdef HAVE_CONFIG_H | |
25 #include <config.h> | |
26 #endif | |
27 | |
28 #include "int16NDArray.h" | |
8774
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
7189
diff
changeset
|
29 #include "mx-op-defs.h" |
4902 | 30 #include "intNDArray.cc" |
31 | |
9743
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9578
diff
changeset
|
32 #include "bsxfun-defs.cc" |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9578
diff
changeset
|
33 |
6108 | 34 template class OCTAVE_API intNDArray<octave_int16>; |
4902 | 35 |
6108 | 36 template OCTAVE_API |
4902 | 37 std::ostream& |
38 operator << (std::ostream& os, const intNDArray<octave_int16>& a); | |
39 | |
6108 | 40 template OCTAVE_API |
4902 | 41 std::istream& |
42 operator >> (std::istream& is, intNDArray<octave_int16>& a); | |
43 | |
9578
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
44 NDS_CMP_OPS (int16NDArray, octave_int16) |
9550
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
8920
diff
changeset
|
45 NDS_BOOL_OPS (int16NDArray, octave_int16) |
4902 | 46 |
9578
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
47 SND_CMP_OPS (octave_int16, int16NDArray) |
9550
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
8920
diff
changeset
|
48 SND_BOOL_OPS (octave_int16, int16NDArray) |
4902 | 49 |
9578
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
50 NDND_CMP_OPS (int16NDArray, int16NDArray) |
9550
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
8920
diff
changeset
|
51 NDND_BOOL_OPS (int16NDArray, int16NDArray) |
4902 | 52 |
10329
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10158
diff
changeset
|
53 MINMAX_FCNS (int16NDArray, octave_int16) |
7189 | 54 |
9743
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9578
diff
changeset
|
55 BSXFUN_STDOP_DEFS_MXLOOP (int16NDArray) |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9578
diff
changeset
|
56 BSXFUN_STDREL_DEFS_MXLOOP (int16NDArray) |