GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
oct-convn.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 //
3 // Copyright (C) 2009-2021 The Octave Project Developers
4 //
5 // See the file COPYRIGHT.md in the top-level directory of this
6 // distribution or <https://octave.org/copyright/>.
7 //
8 // This file is part of Octave.
9 //
10 // Octave is free software: you can redistribute it and/or modify it
11 // under the terms of the GNU General Public License as published by
12 // the Free Software Foundation, either version 3 of the License, or
13 // (at your option) any later version.
14 //
15 // Octave is distributed in the hope that it will be useful, but
16 // WITHOUT ANY WARRANTY; without even the implied warranty of
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 // GNU General Public License for more details.
19 //
20 // You should have received a copy of the GNU General Public License
21 // along with Octave; see the file COPYING. If not, see
22 // <https://www.gnu.org/licenses/>.
23 //
24 ////////////////////////////////////////////////////////////////////////
25 
26 #if ! defined (octave_oct_convn_h)
27 #define octave_oct_convn_h 1
28 
29 #include "octave-config.h"
30 
31 #include "CColVector.h"
32 #include "CMatrix.h"
33 #include "CNDArray.h"
34 #include "CRowVector.h"
35 #include "dColVector.h"
36 #include "dMatrix.h"
37 #include "dNDArray.h"
38 #include "dRowVector.h"
39 #include "fCColVector.h"
40 #include "fCMatrix.h"
41 #include "fCNDArray.h"
42 #include "fCRowVector.h"
43 #include "fColVector.h"
44 #include "fMatrix.h"
45 #include "fNDArray.h"
46 #include "fRowVector.h"
47 
49 {
53 };
54 
55 #define CONV_DECLS(TPREF, RPREF) \
56  extern OCTAVE_API TPREF ## NDArray \
57  convn (const TPREF ## NDArray& a, const RPREF ## NDArray& b, \
58  convn_type ct); \
59  extern OCTAVE_API TPREF ## Matrix \
60  convn (const TPREF ## Matrix& a, const RPREF ## Matrix& b, \
61  convn_type ct); \
62  extern OCTAVE_API TPREF ## Matrix \
63  convn (const TPREF ## Matrix& a, const RPREF ## ColumnVector& c, \
64  const RPREF ## RowVector& r, convn_type ct)
65 
66 
67 CONV_DECLS ( , );
70 CONV_DECLS (Float, Float);
71 CONV_DECLS (FloatComplex, Float);
73 
74 #endif
std::complex< double > Complex
Definition: oct-cmplx.h:33
std::complex< float > FloatComplex
Definition: oct-cmplx.h:34
convn_type
Definition: oct-convn.h:49
@ convn_full
Definition: oct-convn.h:50
@ convn_valid
Definition: oct-convn.h:52
@ convn_same
Definition: oct-convn.h:51
#define CONV_DECLS(TPREF, RPREF)
Definition: oct-convn.h:55