BIE::MultiDistribution Class Reference

Defines a container of distributions (number specified to start and list of pointers passed to constructor). More...

#include <MultiDistribution.h>

Inheritance diagram for BIE::MultiDistribution:
Collaboration diagram for BIE::MultiDistribution:

List of all members.

Public Member Functions

 MultiDistribution (int number, BinnedDistribution **list)
 Construct the container from a list of pointers to pointers.
 MultiDistribution (vector< BinnedDistribution * > *list)
 Construct the container from vector of pointers.
 MultiDistribution ()
 Construct a null instance.
 ~MultiDistribution ()
 Force runtime binding of inherited destructor.
MultiDistributionNew ()
 Object factory (clone).
void ComputeDistribution ()
 Force all distributions to recompute as needed.
int Ndist (void)
 Return number of distributions.
double PDF (State &z)
 Required members for distribution which are provided from list.
double logPDF (State &z)
 Return the log of the partial distribution value for a given State.
vector< double > lower ()
 Return the vector of lower bounds.
vector< double > upper ()
 Return the vector of upper bounds.
vector< double > Mean ()
 Return the mean of the distribution (vector value).
vector< double > StdDev ()
 Return the standard deviation about the mean of the distribution (vector value).
vector< double > Moments (int i)
 Return the ith moment values (vector value).
vector< double > Sample ()
 Return a sample from the distribution.
int numberData ()
 Binned distribution members.
double getValue (int i)
 The value of the ith datum (bin).
vector< double > getLow (int i)
 A vector of lower bounds for the ith datum (bin).
vector< double > getHigh (int i)
 A vector of upper bounds for the ith datum (bin).
int getdim (int i)
 Return the dimension for the ith datum (bin).

Friends

class boost::serialization::access


Detailed Description

Defines a container of distributions (number specified to start and list of pointers passed to constructor).

Member Function Documentation

double BIE::MultiDistribution::PDF ( State z  )  [virtual]

Required members for distribution which are provided from list.

Return the partial distribution value for a given State

Parameters:
z 

Reimplemented from BIE::Distribution.

double BIE::MultiDistribution::logPDF ( State z  )  [virtual]

Return the log of the partial distribution value for a given State.

Parameters:
z 

Reimplemented from BIE::Distribution.

int BIE::MultiDistribution::numberData (  )  [inline, virtual]

Binned distribution members.

The number of datums (bins)

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