48 lines
1.5 KiB
C++
48 lines
1.5 KiB
C++
// -*- C++ -*-
|
|
/***************************************************************************
|
|
* blitz/array/convolve.h One-dimensional convolution
|
|
*
|
|
* $Id$
|
|
*
|
|
* Copyright (C) 1997-2011 Todd Veldhuizen <tveldhui@acm.org>
|
|
*
|
|
* This file is a part of Blitz.
|
|
*
|
|
* Blitz is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License
|
|
* as published by the Free Software Foundation, either version 3
|
|
* of the License, or (at your option) any later version.
|
|
*
|
|
* Blitz is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with Blitz. If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
* Suggestions: blitz-devel@lists.sourceforge.net
|
|
* Bugs: blitz-support@lists.sourceforge.net
|
|
*
|
|
* For more information, please see the Blitz++ Home Page:
|
|
* https://sourceforge.net/projects/blitz/
|
|
*
|
|
****************************************************************************/
|
|
#ifndef BZ_ARRAY_CONVOLVE_H
|
|
#define BZ_ARRAY_CONVOLVE_H
|
|
|
|
#ifndef BZ_ARRAY_H
|
|
#error <blitz/array/convolve.h> must be included after <blitz/array.h>
|
|
#endif
|
|
|
|
BZ_NAMESPACE(blitz)
|
|
|
|
template<typename T>
|
|
Array<T,1> convolve(const Array<T,1>& B, const Array<T,1>& C);
|
|
|
|
BZ_NAMESPACE_END
|
|
|
|
#include <blitz/array/convolve.cc>
|
|
|
|
#endif // BZ_ARRAY_CONVOLVE_H
|