histogram_type Class Reference

#include <histogram-type.h>

List of all members.

Public Member Functions

 histogram_type ()
 histogram_type (float8 left, float8 right, int c)
void init (float8 left, float8 right, int c)
int bin (float8 val)
void hit (float8 val)
void normalize (int val)
void normalize_autocorrelation_diff (int val)
void strip ()
int valat (float8 v)
float8 mean ()
float8 dev ()
float8 best_dist (histogram_type *a)
float8 cor_dist (histogram_type *a)
void halve ()

Public Attributes

float8 left
float8 right
float8 sum
float8 scale
int total
int median
signed4bins
int count

Constructor & Destructor Documentation

histogram_type::histogram_type (  ) 

References bins, count, left, median, right, scale, sum, and total.

histogram_type::histogram_type ( float8  left,
float8  right,
int  c 
)

References init().


Member Function Documentation

float8 histogram_type::best_dist ( histogram_type a  ) 
int histogram_type::bin ( float8  val  ) 

References count, left, and right.

Referenced by hit(), and valat().

float8 histogram_type::cor_dist ( histogram_type a  ) 
float8 histogram_type::dev (  ) 

References bins, count, i, left, mean(), and right.

Referenced by SpectrumAnalyzer::fetchSpectrum_normal().

void histogram_type::halve (  ) 

References bins, count, and i.

Referenced by SpectrumAnalyzer::fetchSpectrum_normal().

void histogram_type::hit ( float8  val  ) 

References bin(), bins, sum, and total.

void histogram_type::init ( float8  left,
float8  right,
int  c 
)

References assert(), bins, bpmdj_allocate, count, i, left, right, sum, and total.

Referenced by histogram_type().

float8 histogram_type::mean (  ) 

References sum, and total.

Referenced by dev(), and SpectrumAnalyzer::fetchSpectrum_normal().

void histogram_type::normalize ( int  val  ) 

References bins, count, i, median, and vector_mul_div().

void histogram_type::normalize_autocorrelation_diff ( int  val  ) 
void histogram_type::strip (  ) 
int histogram_type::valat ( float8  v  ) 

References bin(), and bins.

Referenced by SpectrumAnalyzer::fetchSpectrum_normal().


Member Data Documentation

Referenced by bin(), dev(), histogram_type(), init(), and strip().

Referenced by histogram_type(), and normalize().

Referenced by bin(), dev(), histogram_type(), init(), and strip().

Referenced by histogram_type(), hit(), init(), and mean().

Referenced by histogram_type(), hit(), init(), and mean().


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2