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

#include <histogram.h>

List of all members.

Public Types

typedef double data_t
typedef size_t index_t

Public Member Functions

 Moments ()
void update (const data_t input)
void replace (const data_t old_data, const data_t new_data)
void operator() (const data_t input)
index_t count () const
data_t mean () const
data_t variance () const
data_t std () const

Detailed Description

Definition at line 26 of file histogram.h.


Member Typedef Documentation

typedef double mcpele::Moments::data_t

Definition at line 28 of file histogram.h.

typedef size_t mcpele::Moments::index_t

Definition at line 29 of file histogram.h.


Constructor & Destructor Documentation

Definition at line 35 of file histogram.h.


Member Function Documentation

index_t mcpele::Moments::count ( ) const [inline]

Definition at line 58 of file histogram.h.

data_t mcpele::Moments::mean ( ) const [inline]

Definition at line 59 of file histogram.h.

void mcpele::Moments::operator() ( const data_t  input) [inline]

Definition at line 57 of file histogram.h.

void mcpele::Moments::replace ( const data_t  old_data,
const data_t  new_data 
) [inline]

replace a data point with another one

Definition at line 52 of file histogram.h.

data_t mcpele::Moments::std ( ) const [inline]

Definition at line 61 of file histogram.h.

void mcpele::Moments::update ( const data_t  input) [inline]

Definition at line 40 of file histogram.h.

data_t mcpele::Moments::variance ( ) const [inline]

Definition at line 60 of file histogram.h.


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