GNU Octave  4.2.1
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-2017 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 "octave-config.h"
28 
29 #include "dMatrix.h"
30 #include "fMatrix.h"
31 #include "CMatrix.h"
32 #include "fCMatrix.h"
33 
34 #include "dNDArray.h"
35 #include "fNDArray.h"
36 #include "CNDArray.h"
37 #include "fCNDArray.h"
38 
39 #include "dRowVector.h"
40 #include "fRowVector.h"
41 #include "CRowVector.h"
42 #include "fCRowVector.h"
43 
44 #include "dColVector.h"
45 #include "fColVector.h"
46 #include "CColVector.h"
47 #include "fCColVector.h"
48 
50 {
54 };
55 
56 #define CONV_DECLS(TPREF, RPREF) \
57  extern OCTAVE_API TPREF ## NDArray \
58  convn (const TPREF ## NDArray& a, const RPREF ## NDArray& b, \
59  convn_type ct); \
60  extern OCTAVE_API TPREF ## Matrix \
61  convn (const TPREF ## Matrix& a, const RPREF ## Matrix& b, \
62  convn_type ct); \
63  extern OCTAVE_API TPREF ## Matrix \
64  convn (const TPREF ## Matrix& a, const RPREF ## ColumnVector& c, \
65  const RPREF ## RowVector& r, convn_type ct)
66 
67 
68 CONV_DECLS ( , );
71 CONV_DECLS (Float, Float);
72 CONV_DECLS (FloatComplex, Float);
74 
75 #endif
#define CONV_DECLS(TPREF, RPREF)
Definition: oct-convn.h:56
convn_type
Definition: oct-convn.h:49
std::complex< float > FloatComplex
Definition: oct-cmplx.h:32
std::complex< double > Complex
Definition: oct-cmplx.h:31