#include <libEF.h>
Public Member Functions | |
emix (const RV &rv, vec &w0) | |
Default constructor. | |
void | set_parameters (int &i, epdf *ep) |
vec | mean () |
return expected value | |
vec | sample () |
Returns the required moment of the epdf. | |
virtual double | eval (const vec &val) |
Compute probability of argument val . | |
virtual double | evalpdflog (const vec &val) |
Compute log-probability of argument val . | |
Protected Attributes | |
int | n |
vec & | w |
Array< epdf * > | Coms |
RV | rv |
vec emix::sample | ( | ) | [inline, virtual] |