Essentia  2.1-beta5-dev
ComparePeakPosition< Comp1, Comp2 > Class Template Reference

#include <peak.h>

Inheritance diagram for ComparePeakPosition< Comp1, Comp2 >:

Public Member Functions

bool operator() (const Peak &p1, const Peak &p2) const

Private Attributes

Comp1 _cmp1
Comp2 _cmp2

Member Function Documentation

◆ operator()()

bool operator() ( const Peak p1,
const Peak p2 
) const

References Peak::magnitude, and Peak::position.

Member Data Documentation

◆ _cmp1

Comp1 _cmp1

◆ _cmp2

Comp2 _cmp2

The documentation for this class was generated from the following file: