comparison liboctave/oct-convn.h @ 10385:56116dceb1e0

add omitted source from the last change
author Jaroslav Hajek <highegg@gmail.com>
date Tue, 02 Mar 2010 10:59:05 +0100
parents
children fd0a3ac60b0e
comparison
equal deleted inserted replaced
10384:978f5c94b11f 10385:56116dceb1e0
1 /*
2
3 Copyright (C) 2009 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_convn_h)
25 #define octave_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
47 enum convn_type
48 {
49 convn_full,
50 convn_same,
51 convn_valid
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 ( , );
64 CONV_DECLS (Complex, );
65 CONV_DECLS (Complex, Complex);
66 CONV_DECLS (Float, Float);
67 CONV_DECLS (FloatComplex, Float);
68 CONV_DECLS (FloatComplex, FloatComplex);
69
70 #endif
71