Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

Distribution Class Reference

A class representing a distribution. More...

#include <Distribution.hpp>

Inheritance diagram for Distribution:

Diag_Normal HighDim_Normal Laplace Normal List of all members.

Public Member Functions

virtual ~Distribution ()
 Destructor.
void Fix ()
uint Get_D ()
 Get the dimension.
virtual void Simulate (vector< double > &X)
 Simulate.
double Density (vector< double > const &X)
 Compute the density.
virtual double LogDensity (vector< double > const &X)
 Compute the log density.
virtual void Estimate (Spatial_Data *spatd, vector< double > const &freqs)
 Estimate all parameters from the given data and frequencies.
virtual void Read_Params (istream &is)
 Read all parameters from a stream.
virtual void Write_Params (ostream &os)
 Write all parameters to a stream.
virtual uint Degrees_Of_Freedom ()
 Number of free parameters.
virtual void Info ()
 info

Protected Attributes

uint Dim
 Dimension.
bool fix
 true if the distribution doesn't have to be estimated

Detailed Description

Author:
Juliette Blanchet
Date:
Dec. 2005


The documentation for this class was generated from the following files:
Generated on Thu Jan 12 11:55:00 2006 for NEM by  doxygen 1.4.4