bdmtoolbox: mexLaplace Class Reference

mexLaplace Class Reference

Unconditional Laplace density. More...

List of all members.

Public Member Functions

function mean (in obj)
 Function returning mean value of this epdf.
function validate (in obj)
 This function is called before using the object. It should check consistency of the properties and fill default values.
function dimension (in obj)
 Tell the world around it dimension of the random variable.
function variance (in obj)
 Function returning variance of this epdf.
function evallog (in obj, in x)
 Function returning logarithm of likelihood function in point x.
function sample (in obj)
 Function returning a signle sample from this density.
void from_setting (const Setting &S)
void set_data (mxArray *tmp)
void validate ()
vec mean () const
vec sample () const
double evallog (const vec &dt) const
vec variance () const
function evallog_nn (in p, in x)
 Function returning logarithm of NON-normalized likelihood function in point x (speed optimization).
function get_rv (in p)
function samplemat (in obj, in n)
 Function returning a matrix of n samples from this density,.

Public Attributes

 mu
 b
 rv
 Description of random variable (see definitiopn of RV).

Protected Attributes

mxArray * data

Detailed Description

Unconditional Laplace density.

\[ f(x|\mu,b) \propto \exp(-|x-\mu|/b)\]


The documentation for this class was generated from the following file:

Generated on Fri Aug 27 16:55:20 2010 for bdmtoolbox by  doxygen 1.6.0