Pottu
Public Types | Public Member Functions | Public Attributes | List of all members
pottu::BinnerFloat< V > Class Template Reference

Binner with float values. More...

#include <binners.hpp>

Public Types

typedef V value_type
 

Public Member Functions

 BinnerFloat (value_type low_, value_type high_, unsigned int binc)
 
 BinnerFloat (const BinnerFloat &o)=default
 
 BinnerFloat (BinnerFloat &&o)=default
 
BinnerFloatoperator= (const BinnerFloat &o)=default
 
BinnerFloatoperator= (BinnerFloat &&o)=default
 
value_type low () const
 
value_type high () const
 
unsigned int binCount () const
 
int operator() (value_type v) const
 
bool isUnderflow (value_type v) const
 
bool isOverflow (value_type v) const
 
value_type binWidth () const
 
value_type binLow (unsigned int i) const
 
value_type binHigh (unsigned int i) const
 
double binCenter (unsigned int i) const
 

Public Attributes

value_type _low
 
value_type _high
 
unsigned int _binc
 
value_type _step
 

Detailed Description

template<class V>
class pottu::BinnerFloat< V >

Binner with float values.


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