mixpp: bdm::egrid Class Reference

bdm::egrid Class Reference

Piecewise constant pdf on rectangular support. More...

#include <discrete.h>

Inheritance diagram for bdm::egrid:

bdm::epdf bdm::pdf bdm::root List of all members.

Public Member Functions

double evallog (const vec &val)
 we assume that evallog is not called too often otherwise we should cache log(values)

Protected Attributes

rectangular_support sup
 support of the pdf - grid
vec values
 values at the grid

Detailed Description

Piecewise constant pdf on rectangular support.

Each point on the grid represents a centroid around which the density is constant. This is a trivial point-mass density where all points have the same mass.


The documentation for this class was generated from the following file:
Generated on 2 Dec 2013 for mixpp by  doxygen 1.4.7