Mercurial > hg > qm-dsp
annotate maths/Correlation.h @ 136:9c16683f58eb
...
author | Chris Cannam |
---|---|
date | Mon, 21 Oct 2013 09:24:59 +0100 |
parents | e5907ae6de17 |
children |
rev | line source |
---|---|
cannam@0 | 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ |
cannam@0 | 2 |
cannam@0 | 3 /* |
cannam@0 | 4 QM DSP Library |
cannam@0 | 5 |
cannam@0 | 6 Centre for Digital Music, Queen Mary, University of London. |
Chris@84 | 7 This file 2005-2006 Christian Landone. |
Chris@84 | 8 |
Chris@84 | 9 This program is free software; you can redistribute it and/or |
Chris@84 | 10 modify it under the terms of the GNU General Public License as |
Chris@84 | 11 published by the Free Software Foundation; either version 2 of the |
Chris@84 | 12 License, or (at your option) any later version. See the file |
Chris@84 | 13 COPYING included with this distribution for more information. |
cannam@0 | 14 */ |
cannam@0 | 15 |
cannam@0 | 16 #ifndef CORRELATION_H |
cannam@0 | 17 #define CORRELATION_H |
cannam@0 | 18 |
cannam@0 | 19 #define EPS 2.2204e-016 |
cannam@0 | 20 |
cannam@0 | 21 class Correlation |
cannam@0 | 22 { |
cannam@0 | 23 public: |
cannam@0 | 24 void doAutoUnBiased( double* src, double* dst, unsigned int length ); |
cannam@0 | 25 Correlation(); |
cannam@0 | 26 virtual ~Correlation(); |
cannam@0 | 27 |
cannam@0 | 28 }; |
cannam@0 | 29 |
cannam@0 | 30 #endif // |