From a52d6cd7402926404af3c65a0d2434f29a38149f Mon Sep 17 00:00:00 2001 From: kimikage Date: Fri, 16 Dec 2011 10:58:46 +0900 Subject: [PATCH] =?utf8?q?Convolution=E3=81=AE=E8=BF=BD=E5=8A=A0=EF=BC=88?= =?utf8?q?=E6=9C=AA=E5=AE=9F=E8=A3=85=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Karinto/Convolution.cs | 52 ++++++++++++++++++++++++++++++++++++++++++ Karinto/Karinto.csproj | 1 + KarintoTest/ConvolutionTest.cs | 17 ++++++++++++++ 3 files changed, 70 insertions(+) create mode 100755 Karinto/Convolution.cs create mode 100755 KarintoTest/ConvolutionTest.cs diff --git a/Karinto/Convolution.cs b/Karinto/Convolution.cs new file mode 100755 index 0000000..49fe9ab --- /dev/null +++ b/Karinto/Convolution.cs @@ -0,0 +1,52 @@ +/* + * Karinto Library Project + * + * This software is distributed under a zlib-style license. + * See license.txt for more information. + */ + +using System; +using System.Collections.Generic; +using System.Text; + +namespace Karinto +{ + class Convolution + { + #region type definition + public enum Mode + { + Linear, + Circular + } + #endregion + + #region public methods + + public double[] Convolute(double[] f, double[] g) + { + return Convolute(f, 0, g, 0); + } + + public double[] Convolute(double[] f, int fOffset, + double[] g, int gOffset) + { + return null; + } + + public double[] Convolute(double[] f, int fOffset, + double[] g, int gOffset, int length) + { + return null; + } + + public double[] Deconvolute(double[] h, double[] f) + { +#if WITH_FFTSS + +#endif + return null; + } + #endregion + } +} diff --git a/Karinto/Karinto.csproj b/Karinto/Karinto.csproj index 396fde0..e306798 100755 --- a/Karinto/Karinto.csproj +++ b/Karinto/Karinto.csproj @@ -42,6 +42,7 @@ + diff --git a/KarintoTest/ConvolutionTest.cs b/KarintoTest/ConvolutionTest.cs new file mode 100755 index 0000000..01454a0 --- /dev/null +++ b/KarintoTest/ConvolutionTest.cs @@ -0,0 +1,17 @@ +/* + * Karinto Library Project + * + * This software is distributed under a zlib-style license. + * See license.txt for more information. + */ + +using System; +using System.Collections.Generic; +using System.Text; + +namespace KarintoTest +{ + class ConvolutionTest + { + } +} -- 2.11.0