Essentia  2.1-beta6-dev
Peak Class Reference

#include <peak.h>

Public Member Functions

 Peak ()
 
 Peak (const Peak &p)
 
template<typename T , typename U >
 Peak (const T &pos, const U &mag)
 
template<typename T , typename U >
 Peak (const std::pair< T, U > &p)
 
bool operator== (const Peak &p) const
 
bool operator!= (const Peak &p) const
 
bool operator< (const Peak &p) const
 
bool operator> (const Peak &p) const
 
bool operator<= (const Peak &p) const
 
bool operator>= (const Peak &p) const
 
Peakoperator= (const Peak &p)
 
template<typename T , typename U >
Peakoperator= (const std::pair< T, U > &p)
 

Public Attributes

Real position
 
Real magnitude
 

Constructor & Destructor Documentation

◆ Peak() [1/4]

Peak ( )
inline

◆ Peak() [2/4]

Peak ( const Peak p)
inline

◆ Peak() [3/4]

Peak ( const T &  pos,
const U &  mag 
)
inline

◆ Peak() [4/4]

Peak ( const std::pair< T, U > &  p)
inline

Member Function Documentation

◆ operator!=()

bool operator!= ( const Peak p) const
inline

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

◆ operator<()

bool operator< ( const Peak p) const
inline

References Peak::magnitude.

◆ operator<=()

bool operator<= ( const Peak p) const
inline

References Peak::magnitude.

◆ operator=() [1/2]

Peak& operator= ( const Peak p)
inline

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

◆ operator=() [2/2]

Peak& operator= ( const std::pair< T, U > &  p)
inline

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

◆ operator==()

bool operator== ( const Peak p) const
inline

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

◆ operator>()

bool operator> ( const Peak p) const
inline

References Peak::magnitude.

◆ operator>=()

bool operator>= ( const Peak p) const
inline

References Peak::magnitude.

Member Data Documentation

◆ magnitude

◆ position


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