Mercurial > hg > octave-nkf
comparison liboctave/int16NDArray.cc @ 4902:bd043a433918
[project @ 2004-06-14 18:46:20 by jwe]
author | jwe |
---|---|
date | Mon, 14 Jun 2004 18:49:09 +0000 |
parents | |
children | c638c144d4da |
comparison
equal
deleted
inserted
replaced
4901:35bfb4e0b96b | 4902:bd043a433918 |
---|---|
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 | |
38 template | |
39 std::ostream& | |
40 operator << (std::ostream& os, const intNDArray<octave_int16>& a); | |
41 | |
42 template | |
43 std::istream& | |
44 operator >> (std::istream& is, intNDArray<octave_int16>& a); | |
45 | |
46 NDS_CMP_OPS (int16NDArray, , octave_int16, ) | |
47 NDS_BOOL_OPS (int16NDArray, octave_int16, octave_int16 (0)) | |
48 | |
49 SND_CMP_OPS (octave_int16, , int16NDArray, ) | |
50 SND_BOOL_OPS (octave_int16, int16NDArray, octave_int16 (0)) | |
51 | |
52 NDND_CMP_OPS (int16NDArray, , int16NDArray, ) | |
53 NDND_BOOL_OPS (int16NDArray, int16NDArray, octave_int16 (0)) | |
54 | |
55 /* | |
56 ;;; Local Variables: *** | |
57 ;;; mode: C++ *** | |
58 ;;; End: *** | |
59 */ |