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 "int16NDArray.h" |
|
33 |
|
34 #include "intNDArray.cc" |
|
35 |
|
36 template class intNDArray<octave_int16>; |
|
37 |
4952
|
38 template octave_int16 pow (const octave_int16& a, const octave_int16& b); |
|
39 |
4902
|
40 template |
|
41 std::ostream& |
|
42 operator << (std::ostream& os, const intNDArray<octave_int16>& a); |
|
43 |
|
44 template |
|
45 std::istream& |
|
46 operator >> (std::istream& is, intNDArray<octave_int16>& a); |
|
47 |
4915
|
48 OCTAVE_INT_CONCAT_FN (octave_int16) |
|
49 |
4902
|
50 NDS_CMP_OPS (int16NDArray, , octave_int16, ) |
|
51 NDS_BOOL_OPS (int16NDArray, octave_int16, octave_int16 (0)) |
|
52 |
|
53 SND_CMP_OPS (octave_int16, , int16NDArray, ) |
|
54 SND_BOOL_OPS (octave_int16, int16NDArray, octave_int16 (0)) |
|
55 |
|
56 NDND_CMP_OPS (int16NDArray, , int16NDArray, ) |
|
57 NDND_BOOL_OPS (int16NDArray, int16NDArray, octave_int16 (0)) |
|
58 |
|
59 /* |
|
60 ;;; Local Variables: *** |
|
61 ;;; mode: C++ *** |
|
62 ;;; End: *** |
|
63 */ |