mixpp: bdm::pdf_internal< EPDF > Class Template Reference

bdm::pdf_internal< EPDF > Class Template Reference

pdf with internal epdf that is modified by function condition More...

#include <bdmbase.h>

Inheritance diagram for bdm::pdf_internal< EPDF >:

bdm::pdf bdm::root bdm::mBeta bdm::mDirich bdm::mgamma bdm::mgnorm< sq_T > bdm::mguni bdm::migamma bdm::mlognorm bdm::mgamma_fix bdm::migamma_ref List of all members.

Public Member Functions

 pdf_internal ()
 constructor
virtual void condition (const vec &cond)=0
EPDF & e ()
 access function to iepdf
vec samplecond (const vec &cond)
 Reimplements samplecond using condition().
double evallogcond (const vec &val, const vec &cond)
 Reimplements evallogcond using condition().
virtual vec evallogcond_mat (const mat &Dt, const vec &cond)
 Efficient version of evallogcond for matrices.
virtual vec evallogcond_mat (const Array< vec > &Dt, const vec &cond)
 Efficient version of evallogcond for Array<vec>.
virtual mat samplecond_mat (const vec &cond, int N)
 Efficient version of samplecond.
void validate ()

Protected Attributes

EPDF iepdf
 Internal epdf used for sampling.

Detailed Description

template<class EPDF>
class bdm::pdf_internal< EPDF >

pdf with internal epdf that is modified by function condition


Member Function Documentation

template<class EPDF>
virtual void bdm::pdf_internal< EPDF >::condition ( const vec &  cond  )  [pure virtual]

Update iepdf so that it represents this pdf conditioned on rvc = cond This function provides convenient reimplementation in offsprings

Implemented in bdm::mlnorm< sq_T, TEpdf >, bdm::mlnorm< bdm::chmat >, and bdm::mlnorm< bdm::ldmat, bdm::enorm >.


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