summaryrefslogtreecommitdiff
path: root/src/signalProcessing/includes
diff options
context:
space:
mode:
authortorset2009-01-08 09:23:27 +0000
committertorset2009-01-08 09:23:27 +0000
commit4c9dadaa3b1aec2ba0a6db60b55441c53ef9f143 (patch)
tree626325cf4e80b0a1f01d97843db04e3d24098045 /src/signalProcessing/includes
parent9d4fef2da881c036b30f5c99a059d4d02370ce12 (diff)
downloadscilab2c-4c9dadaa3b1aec2ba0a6db60b55441c53ef9f143.tar.gz
scilab2c-4c9dadaa3b1aec2ba0a6db60b55441c53ef9f143.tar.bz2
scilab2c-4c9dadaa3b1aec2ba0a6db60b55441c53ef9f143.zip
add cross correlation (need assertions)
Diffstat (limited to 'src/signalProcessing/includes')
-rw-r--r--src/signalProcessing/includes/crossCorr.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/signalProcessing/includes/crossCorr.h b/src/signalProcessing/includes/crossCorr.h
new file mode 100644
index 00000000..daabe52d
--- /dev/null
+++ b/src/signalProcessing/includes/crossCorr.h
@@ -0,0 +1,28 @@
+
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA - Arnaud TORSET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#ifndef __CROSSCORR_H__
+#define __CROSSCORR_H__
+
+#include "floatComplex.h"
+#include "doubleComplex.h"
+
+void scrossCorra(float* in1, int rows1, int cols1, float* in2, int rows2, int cols2, float* out);
+
+void dcrossCorra(double* in1, int rows1, int cols1, double* in2, int rows2, int cols2, double* out);
+
+void ccrossCorra(floatComplex* in1, int rows1, int cols1, floatComplex* in2, int rows2, int cols2, floatComplex* out);
+
+void zcrossCorra(doubleComplex* in1, int rows1, int cols1, doubleComplex* in2, int rows2, int cols2, doubleComplex* out);
+
+#endif /* __CROSSCORR_H__ */