mixpp: bdm::euni Class Reference

bdm::euni Class Reference

Uniform distributed density on a rectangular support. More...

#include <exp_family.h>

Inheritance diagram for bdm::euni:

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

Public Member Functions

double evallog (const vec &val) const
vec sample () const
vec mean () const
 set values of low and high
vec variance () const
void from_setting (const Setting &set)
void to_setting (Setting &set) const
void validate ()
Constructors
 euni (const vec &low0, const vec &high0)
void set_parameters (const vec &low0, const vec &high0)

Protected Attributes

vec low
 lower bound on support
vec high
 upper bound on support
vec distance
 internal
double nk
 normalizing coefficients
double lnk
 cache of log( nk )

Detailed Description

Uniform distributed density on a rectangular support.


Member Function Documentation

void bdm::euni::from_setting ( const Setting &  set  )  [virtual]

Create object from the following structure

     class = 'euni'
     high = [...];          % vector of upper bounds
     low = [...];           % vector of lower bounds
      rv = RV({'names',...},[sizes,...],[times,...]);   % description of RV
     --- inherited fields ---
     bdm::epdf::from_setting

fulfilling form

\[ f(rv) = U(low,high) \]

Reimplemented from bdm::epdf.


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