Mercurial > hg > qm-dsp
comparison maths/KLDivergence.cpp @ 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 | bb78ca3fe7de |
children |
comparison
equal
deleted
inserted
replaced
471:e3335cb213da | 505:930b5b0f707d |
---|---|
14 */ | 14 */ |
15 | 15 |
16 #include "KLDivergence.h" | 16 #include "KLDivergence.h" |
17 | 17 |
18 #include <cmath> | 18 #include <cmath> |
19 | |
20 using std::vector; | |
19 | 21 |
20 double KLDivergence::distanceGaussian(const vector<double> &m1, | 22 double KLDivergence::distanceGaussian(const vector<double> &m1, |
21 const vector<double> &v1, | 23 const vector<double> &v1, |
22 const vector<double> &m2, | 24 const vector<double> &m2, |
23 const vector<double> &v2) | 25 const vector<double> &v2) |