qm-dsp
1.8
|
#include <CosineDistance.h>
Public Member Functions | |
CosineDistance () | |
~CosineDistance () | |
double | distance (const vector< double > &v1, const vector< double > &v2) |
Protected Attributes | |
double | dist |
double | dDenTot |
double | dDen1 |
double | dDen2 |
double | dSum1 |
Definition at line 24 of file CosineDistance.h.
CosineDistance::CosineDistance | ( | ) | [inline] |
Definition at line 27 of file CosineDistance.h.
CosineDistance::~CosineDistance | ( | ) | [inline] |
Definition at line 28 of file CosineDistance.h.
double CosineDistance::distance | ( | const vector< double > & | v1, |
const vector< double > & | v2 | ||
) |
Definition at line 23 of file CosineDistance.cpp.
References dDen1, dDen2, dDenTot, dist, and dSum1.
Referenced by BeatSpectrum::process().
double CosineDistance::dist [protected] |
Definition at line 33 of file CosineDistance.h.
Referenced by distance().
double CosineDistance::dDenTot [protected] |
Definition at line 33 of file CosineDistance.h.
Referenced by distance().
double CosineDistance::dDen1 [protected] |
Definition at line 33 of file CosineDistance.h.
Referenced by distance().
double CosineDistance::dDen2 [protected] |
Definition at line 33 of file CosineDistance.h.
Referenced by distance().
double CosineDistance::dSum1 [protected] |
Definition at line 33 of file CosineDistance.h.
Referenced by distance().