Mercurial > hg > octave-nkf
annotate liboctave/int16NDArray.cc @ 12011:67ad3b58b99a release-3-2-x
improve error handling
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Wed, 24 Jun 2009 07:31:32 +0200 |
parents | eb63fbe60fab |
children | 3d6a9aea2aea |
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 "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 | |
6108 | 32 template class OCTAVE_API intNDArray<octave_int16>; |
4902 | 33 |
6108 | 34 template OCTAVE_API |
4902 | 35 std::ostream& |
36 operator << (std::ostream& os, const intNDArray<octave_int16>& a); | |
37 | |
6108 | 38 template OCTAVE_API |
4902 | 39 std::istream& |
40 operator >> (std::istream& is, intNDArray<octave_int16>& a); | |
41 | |
42 NDS_CMP_OPS (int16NDArray, , octave_int16, ) | |
43 NDS_BOOL_OPS (int16NDArray, octave_int16, octave_int16 (0)) | |
44 | |
45 SND_CMP_OPS (octave_int16, , int16NDArray, ) | |
46 SND_BOOL_OPS (octave_int16, int16NDArray, octave_int16 (0)) | |
47 | |
48 NDND_CMP_OPS (int16NDArray, , int16NDArray, ) | |
49 NDND_BOOL_OPS (int16NDArray, int16NDArray, octave_int16 (0)) | |
50 | |
7189 | 51 MINMAX_FCNS (int16) |
52 | |
4902 | 53 /* |
54 ;;; Local Variables: *** | |
55 ;;; mode: C++ *** | |
56 ;;; End: *** | |
57 */ |