4902
|
1 // N-D Array manipulations. |
|
2 /* |
|
3 |
|
4 Copyright (C) 2004 John W. Eaton |
|
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 |
|
10 Free Software Foundation; either version 2, or (at your option) any |
|
11 later version. |
|
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 |
|
19 along with Octave; see the file COPYING. If not, write to the Free |
|
20 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
21 |
|
22 */ |
|
23 |
|
24 #if defined (__GNUG__) && defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION) |
|
25 #pragma implementation |
|
26 #endif |
|
27 |
|
28 #ifdef HAVE_CONFIG_H |
|
29 #include <config.h> |
|
30 #endif |
|
31 |
|
32 #include "int32NDArray.h" |
|
33 |
|
34 #include "intNDArray.cc" |
|
35 |
|
36 template class intNDArray<octave_int32>; |
|
37 |
|
38 template |
|
39 std::ostream& |
|
40 operator << (std::ostream& os, const intNDArray<octave_int32>& a); |
|
41 |
|
42 template |
|
43 std::istream& |
|
44 operator >> (std::istream& is, intNDArray<octave_int32>& a); |
|
45 |
4915
|
46 OCTAVE_INT_CONCAT_FN (octave_int32) |
|
47 |
4902
|
48 NDS_CMP_OPS (int32NDArray, , octave_int32, ) |
|
49 NDS_BOOL_OPS (int32NDArray, octave_int32, octave_int32 (0)) |
|
50 |
|
51 SND_CMP_OPS (octave_int32, , int32NDArray, ) |
|
52 SND_BOOL_OPS (octave_int32, int32NDArray, octave_int32 (0)) |
|
53 |
|
54 NDND_CMP_OPS (int32NDArray, , int32NDArray, ) |
|
55 NDND_BOOL_OPS (int32NDArray, int32NDArray, octave_int32 (0)) |
|
56 |
|
57 /* |
|
58 ;;; Local Variables: *** |
|
59 ;;; mode: C++ *** |
|
60 ;;; End: *** |
|
61 */ |