Public Member Functions | Private Attributes | List of all members
gte::Histogram Class Reference

#include <GteHistogram.h>

Public Member Functions

std::vector< int > const & GetBuckets () const
 
int GetExcessGreater () const
 
int GetExcessLess () const
 
int GetLowerTail (double tailAmount)
 
void GetTails (double tailAmount, int &lower, int &upper)
 
int GetUpperTail (double tailAmount)
 
 Histogram (int numBuckets, int numSamples, int const *samples, bool noRescaling)
 
 Histogram (int numBuckets, int numSamples, float const *samples)
 
 Histogram (int numBuckets, int numSamples, double const *samples)
 
 Histogram (int numBuckets)
 
void Insert (int value)
 
void InsertCheck (int value)
 

Private Attributes

std::vector< intmBuckets
 
int mExcessGreater
 
int mExcessLess
 

Detailed Description

Definition at line 16 of file GteHistogram.h.

Constructor & Destructor Documentation

Histogram::Histogram ( int  numBuckets,
int  numSamples,
int const *  samples,
bool  noRescaling 
)

Definition at line 14 of file GteHistogram.cpp.

Histogram::Histogram ( int  numBuckets,
int  numSamples,
float const *  samples 
)

Definition at line 91 of file GteHistogram.cpp.

Histogram::Histogram ( int  numBuckets,
int  numSamples,
double const *  samples 
)

Definition at line 140 of file GteHistogram.cpp.

Histogram::Histogram ( int  numBuckets)

Definition at line 189 of file GteHistogram.cpp.

Member Function Documentation

std::vector< int > const & gte::Histogram::GetBuckets ( ) const
inline

Definition at line 77 of file GteHistogram.h.

int gte::Histogram::GetExcessGreater ( ) const
inline

Definition at line 87 of file GteHistogram.h.

int gte::Histogram::GetExcessLess ( ) const
inline

Definition at line 82 of file GteHistogram.h.

int Histogram::GetLowerTail ( double  tailAmount)

Definition at line 223 of file GteHistogram.cpp.

void Histogram::GetTails ( double  tailAmount,
int lower,
int upper 
)

Definition at line 269 of file GteHistogram.cpp.

int Histogram::GetUpperTail ( double  tailAmount)

Definition at line 246 of file GteHistogram.cpp.

void gte::Histogram::Insert ( int  value)
inline

Definition at line 72 of file GteHistogram.h.

void Histogram::InsertCheck ( int  value)

Definition at line 204 of file GteHistogram.cpp.

Member Data Documentation

std::vector<int> gte::Histogram::mBuckets
private

Definition at line 67 of file GteHistogram.h.

int gte::Histogram::mExcessGreater
private

Definition at line 68 of file GteHistogram.h.

int gte::Histogram::mExcessLess
private

Definition at line 68 of file GteHistogram.h.


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


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06