Mercurial > hg > octave-lyh
annotate liboctave/int64NDArray.cc @ 9578:7dafdb8b062f
refactor comparison ops implementations
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Thu, 27 Aug 2009 11:19:33 +0200 |
parents | 3d6a9aea2aea |
children | 26abff55f6fe |
rev | line source |
---|---|
4902 | 1 // N-D Array manipulations. |
2 /* | |
3 | |
8920 | 4 Copyright (C) 2004, 2005, 2006, 2007, 2009 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 "int64NDArray.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 | |
6108 | 32 template class OCTAVE_API intNDArray<octave_int64>; |
4902 | 33 |
6108 | 34 template OCTAVE_API |
4902 | 35 std::ostream& |
36 operator << (std::ostream& os, const intNDArray<octave_int64>& a); | |
37 | |
6108 | 38 template OCTAVE_API |
4902 | 39 std::istream& |
40 operator >> (std::istream& is, intNDArray<octave_int64>& a); | |
41 | |
9578
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
42 NDS_CMP_OPS (int64NDArray, octave_int64) |
9550
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
8920
diff
changeset
|
43 NDS_BOOL_OPS (int64NDArray, octave_int64) |
4902 | 44 |
9578
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
45 SND_CMP_OPS (octave_int64, int64NDArray) |
9550
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
8920
diff
changeset
|
46 SND_BOOL_OPS (octave_int64, int64NDArray) |
4902 | 47 |
9578
7dafdb8b062f
refactor comparison ops implementations
Jaroslav Hajek <highegg@gmail.com>
parents:
9550
diff
changeset
|
48 NDND_CMP_OPS (int64NDArray, int64NDArray) |
9550
3d6a9aea2aea
refactor binary & bool ops in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
8920
diff
changeset
|
49 NDND_BOOL_OPS (int64NDArray, int64NDArray) |
4902 | 50 |
7189 | 51 MINMAX_FCNS (int64) |
52 | |
4902 | 53 /* |
54 ;;; Local Variables: *** | |
55 ;;; mode: C++ *** | |
56 ;;; End: *** | |
57 */ |