BIE::PointDistribution Class Reference

Sample distribution with individual points. More...

#include <Distribution.h>

Inheritance diagram for BIE::PointDistribution:
Collaboration diagram for BIE::PointDistribution:

List of all members.

Public Member Functions

 PointDistribution (string name)
 Constructor.
 PointDistribution (RecordType *type)
 Constructor.
 ~PointDistribution ()
 Force runtime binding of inherited destructor.
PointDistributionNew ()
 Clone (factory) function.
RecordTypegetRecordType ()
 Returns the record type describing the fields used by a distribution.
bool AccumData (double v, RecordBuffer *datapoint)
 Accumlulate data from a data point held in a record buffer.
int getdim (int i)
 Number of attribute fields.
int numberData ()
 Number of data.
virtual double getValue (int i)
 Value for the ith component.
vector< double > & Point (void)
 Return data point.
double CDF (vector< double > &v)
 Cumulative distribution function P(>x).

Protected Member Functions

bool AccumulateData (double v, vector< double > &x)
 Copy data point.
bool AccumulateData (double v, RecordBuffer *datapoint)
 This is implemented in subclasses.

Protected Attributes

vector< double > data
 Data vector.
bool full
 Distribution is full.

Friends

class boost::serialization::access


Detailed Description

Sample distribution with individual points.

Member Function Documentation

double BIE::PointDistribution::CDF ( vector< double > &  v  )  [virtual]

Cumulative distribution function P(>x).

Simply the result of integrating the n-dimensional function from -infinity to v

Reimplemented from BIE::SampleDistribution.


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

Send suggestions, questions, and feedback to WEINBERG at ASTRO dot UMASS dot EDU.
Documentation generated at Fri Mar 26 00:35:12 2010 by doxygen