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
oct-convn.h
Go to the documentation of this file.
1 /*
2 
3 Copyright (C) 2009-2013 Jaroslav Hajek
4 Copyright (C) 2009 VZLU Prague
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 #if !defined (octave_oct_convn_h)
25 #define octave_oct_convn_h 1
26 
27 #include "dMatrix.h"
28 #include "fMatrix.h"
29 #include "CMatrix.h"
30 #include "fCMatrix.h"
31 
32 #include "dNDArray.h"
33 #include "fNDArray.h"
34 #include "CNDArray.h"
35 #include "fCNDArray.h"
36 
37 #include "dRowVector.h"
38 #include "fRowVector.h"
39 #include "CRowVector.h"
40 #include "fCRowVector.h"
41 
42 #include "dColVector.h"
43 #include "fColVector.h"
44 #include "CColVector.h"
45 #include "fCColVector.h"
46 
48 {
52 };
53 
54 #define CONV_DECLS(TPREF, RPREF) \
55 extern OCTAVE_API TPREF ## NDArray \
56 convn (const TPREF ## NDArray& a, const RPREF ## NDArray& b, convn_type ct); \
57 extern OCTAVE_API TPREF ## Matrix \
58 convn (const TPREF ## Matrix& a, const RPREF ## Matrix& b, convn_type ct); \
59 extern OCTAVE_API TPREF ## Matrix \
60 convn (const TPREF ## Matrix& a, const RPREF ## ColumnVector& c, \
61  const RPREF ## RowVector& r, convn_type ct)
62 
63 CONV_DECLS ( , );
66 CONV_DECLS (Float, Float);
67 CONV_DECLS (FloatComplex, Float);
69 
70 #endif
71