mcpele  1.0.0
The Monte Carlo Python Energy Landscape Explorer
 All Classes Namespaces Functions Variables Typedefs
Public Member Functions
mcpele::Histogram Class Reference

#include <histogram.h>

List of all members.

Public Member Functions

 Histogram (const double min, const double max, const double bin)
 ~Histogram ()
void add_entry (double entry)
double max () const
double min () const
double bin () const
size_t size () const
int entries () const
double get_mean () const
double get_variance () const
std::vector< double >::iterator begin ()
std::vector< double >::iterator end ()
double get_position (const size_t bin_index) const
std::vector< double > get_vecdata () const
double get_entry (const size_t bin_index) const
std::vector< double > get_vecdata_error () const
std::vector< double > get_vecdata_normalized () const
void print_terminal () const
void resize (const double E, const int i)

Detailed Description

Definition at line 64 of file histogram.h.


Constructor & Destructor Documentation

mcpele::Histogram::Histogram ( const double  min,
const double  max,
const double  bin 
)

Definition at line 5 of file histogram.cpp.

Definition at line 76 of file histogram.h.


Member Function Documentation

void mcpele::Histogram::add_entry ( double  entry)

Definition at line 19 of file histogram.cpp.

std::vector<double>::iterator mcpele::Histogram::begin ( ) [inline]

Definition at line 85 of file histogram.h.

double mcpele::Histogram::bin ( ) const [inline]

Definition at line 80 of file histogram.h.

std::vector<double>::iterator mcpele::Histogram::end ( ) [inline]

Definition at line 86 of file histogram.h.

int mcpele::Histogram::entries ( ) const [inline]

Definition at line 82 of file histogram.h.

double mcpele::Histogram::get_entry ( const size_t  bin_index) const [inline]

Definition at line 89 of file histogram.h.

double mcpele::Histogram::get_mean ( ) const [inline]

Definition at line 83 of file histogram.h.

double mcpele::Histogram::get_position ( const size_t  bin_index) const [inline]

Definition at line 87 of file histogram.h.

double mcpele::Histogram::get_variance ( ) const [inline]

Definition at line 84 of file histogram.h.

std::vector<double> mcpele::Histogram::get_vecdata ( ) const [inline]

Definition at line 88 of file histogram.h.

std::vector< double > mcpele::Histogram::get_vecdata_error ( ) const

Definition at line 86 of file histogram.cpp.

std::vector< double > mcpele::Histogram::get_vecdata_normalized ( ) const

Definition at line 96 of file histogram.cpp.

double mcpele::Histogram::max ( ) const [inline]

Definition at line 78 of file histogram.h.

double mcpele::Histogram::min ( ) const [inline]

Definition at line 79 of file histogram.h.

Definition at line 106 of file histogram.cpp.

void mcpele::Histogram::resize ( const double  E,
const int  i 
)

Definition at line 46 of file histogram.cpp.

size_t mcpele::Histogram::size ( ) const [inline]

Definition at line 81 of file histogram.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs