oct-convn.h

Go to the documentation of this file.
00001 /*
00002 
00003 Copyright (C) 2009-2012 Jaroslav Hajek
00004 Copyright (C) 2009 VZLU Prague
00005 
00006 This file is part of Octave.
00007 
00008 Octave is free software; you can redistribute it and/or modify it
00009 under the terms of the GNU General Public License as published by the
00010 Free Software Foundation; either version 3 of the License, or (at your
00011 option) any later version.
00012 
00013 Octave is distributed in the hope that it will be useful, but WITHOUT
00014 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00015 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00016 for more details.
00017 
00018 You should have received a copy of the GNU General Public License
00019 along with Octave; see the file COPYING.  If not, see
00020 <http://www.gnu.org/licenses/>.
00021 
00022 */
00023 
00024 #if !defined (octave_convn_h)
00025 #define octave_convn_h 1
00026 
00027 #include "dMatrix.h"
00028 #include "fMatrix.h"
00029 #include "CMatrix.h"
00030 #include "fCMatrix.h"
00031 
00032 #include "dNDArray.h"
00033 #include "fNDArray.h"
00034 #include "CNDArray.h"
00035 #include "fCNDArray.h"
00036 
00037 #include "dRowVector.h"
00038 #include "fRowVector.h"
00039 #include "CRowVector.h"
00040 #include "fCRowVector.h"
00041 
00042 #include "dColVector.h"
00043 #include "fColVector.h"
00044 #include "CColVector.h"
00045 #include "fCColVector.h"
00046 
00047 enum convn_type
00048 {
00049   convn_full,
00050   convn_same,
00051   convn_valid
00052 };
00053 
00054 #define CONV_DECLS(TPREF, RPREF) \
00055 extern OCTAVE_API TPREF ## NDArray \
00056 convn (const TPREF ## NDArray& a, const RPREF ## NDArray& b, convn_type ct); \
00057 extern OCTAVE_API TPREF ## Matrix \
00058 convn (const TPREF ## Matrix& a, const RPREF ## Matrix& b, convn_type ct); \
00059 extern OCTAVE_API TPREF ## Matrix \
00060 convn (const TPREF ## Matrix& a, const RPREF ## ColumnVector& c, \
00061        const RPREF ## RowVector& r, convn_type ct)
00062 
00063 CONV_DECLS ( , );
00064 CONV_DECLS (Complex, );
00065 CONV_DECLS (Complex, Complex);
00066 CONV_DECLS (Float, Float);
00067 CONV_DECLS (FloatComplex, Float);
00068 CONV_DECLS (FloatComplex, FloatComplex);
00069 
00070 #endif
00071 
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines