1 | /*************************************************************************** |
---|
2 | * blitz/array/convolve.h One-dimensional convolution |
---|
3 | * |
---|
4 | * Copyright (C) 1997-2001 Todd Veldhuizen <tveldhui@oonumerics.org> |
---|
5 | * |
---|
6 | * This program is free software; you can redistribute it and/or |
---|
7 | * modify it under the terms of the GNU General Public License |
---|
8 | * as published by the Free Software Foundation; either version 2 |
---|
9 | * of the License, or (at your option) any later version. |
---|
10 | * |
---|
11 | * This program is distributed in the hope that it will be useful, |
---|
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
14 | * GNU General Public License for more details. |
---|
15 | * |
---|
16 | * Suggestions: blitz-dev@oonumerics.org |
---|
17 | * Bugs: blitz-bugs@oonumerics.org |
---|
18 | * |
---|
19 | * For more information, please see the Blitz++ Home Page: |
---|
20 | * http://oonumerics.org/blitz/ |
---|
21 | * |
---|
22 | ****************************************************************************/ |
---|
23 | #ifndef BZ_ARRAY_CONVOLVE_H |
---|
24 | #define BZ_ARRAY_CONVOLVE_H |
---|
25 | |
---|
26 | #ifndef BZ_ARRAY_H |
---|
27 | #error <blitz/array/convolve.h> must be included after <blitz/array.h> |
---|
28 | #endif |
---|
29 | |
---|
30 | BZ_NAMESPACE(blitz) |
---|
31 | |
---|
32 | template<typename T> |
---|
33 | Array<T,1> convolve(const Array<T,1>& B, const Array<T,1>& C); |
---|
34 | |
---|
35 | BZ_NAMESPACE_END |
---|
36 | |
---|
37 | #include <blitz/array/convolve.cc> |
---|
38 | |
---|
39 | #endif // BZ_ARRAY_CONVOLVE_H |
---|