Mercurial > hg > qm-dsp
comparison maths/Correlation.h @ 505:930b5b0f707d
Merge branch 'codestyle-and-tidy'
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Wed, 05 Jun 2019 12:55:15 +0100 |
parents | af5b7ef02aa7 |
children |
comparison
equal
deleted
inserted
replaced
471:e3335cb213da | 505:930b5b0f707d |
---|---|
1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ | 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ |
2 | |
3 /* | 2 /* |
4 QM DSP Library | 3 QM DSP Library |
5 | 4 |
6 Centre for Digital Music, Queen Mary, University of London. | 5 Centre for Digital Music, Queen Mary, University of London. |
7 This file 2005-2006 Christian Landone. | 6 This file 2005-2006 Christian Landone. |
11 published by the Free Software Foundation; either version 2 of the | 10 published by the Free Software Foundation; either version 2 of the |
12 License, or (at your option) any later version. See the file | 11 License, or (at your option) any later version. See the file |
13 COPYING included with this distribution for more information. | 12 COPYING included with this distribution for more information. |
14 */ | 13 */ |
15 | 14 |
16 #ifndef CORRELATION_H | 15 #ifndef QM_DSP_CORRELATION_H |
17 #define CORRELATION_H | 16 #define QM_DSP_CORRELATION_H |
18 | |
19 #define EPS 2.2204e-016 | |
20 | 17 |
21 class Correlation | 18 class Correlation |
22 { | 19 { |
23 public: | 20 public: |
24 void doAutoUnBiased( double* src, double* dst, unsigned int length ); | |
25 Correlation(); | 21 Correlation(); |
26 virtual ~Correlation(); | 22 virtual ~Correlation(); |
27 | 23 |
24 void doAutoUnBiased( double* src, double* dst, int length ); | |
28 }; | 25 }; |
29 | 26 |
30 #endif // | 27 #endif |