GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
int16NDArray.cc
Go to the documentation of this file.
1 // N-D Array manipulations.
2 /*
3 
4 Copyright (C) 2004-2013 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 3 of the License, or (at your
11 option) any 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, see
20 <http://www.gnu.org/licenses/>.
21 
22 */
23 
24 #ifdef HAVE_CONFIG_H
25 #include <config.h>
26 #endif
27 
28 #include "int16NDArray.h"
29 #include "mx-op-defs.h"
30 #include "intNDArray.cc"
31 
32 #include "bsxfun-defs.cc"
33 
34 template class OCTAVE_API intNDArray<octave_int16>;
35 
36 template OCTAVE_API
37 std::ostream&
38 operator << (std::ostream& os, const intNDArray<octave_int16>& a);
39 
40 template OCTAVE_API
41 std::istream&
42 operator >> (std::istream& is, intNDArray<octave_int16>& a);
43 
46 
47 SND_CMP_OPS (octave_int16, int16NDArray)
48 SND_BOOL_OPS (octave_int16, int16NDArray)
49 
50 NDND_CMP_OPS (int16NDArray, int16NDArray)
51 NDND_BOOL_OPS (int16NDArray, int16NDArray)
52 
53 MINMAX_FCNS (int16NDArray, octave_int16)
54 
55 BSXFUN_STDOP_DEFS_MXLOOP (int16NDArray)
56 BSXFUN_STDREL_DEFS_MXLOOP (int16NDArray)
57 
58 BSXFUN_OP_DEF_MXLOOP (pow, int16NDArray, mx_inline_pow)
59 
60 BSXFUN_POW_MIXED_MXLOOP (int16NDArray)