KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
sample_real.h File Reference
#include "sample_cpp/sample_step.h"
#include "sample_cpp/sample_default.h"
#include "l/l_sys_lib.h"

Go to the source code of this file.

Classes

class  Real_numerical_gradient< Model >
 Approximates the gradient of a target distribution, evaluated at a certain location. The model in question must be a vector model. More...
 
class  Real_hmc_step< Model, CONSTRAINED_TARGET, INCLUDE_ACCEPT_STEP, REVERSIBLE >
 
class  Real_sd_step< Model, REVERSIBLE >
 

Functions

template<class Model >
double get_real_model_parameter (const Model &m, int i)
 Parameter getter for anything that implements operator[]. More...
 
template<class Model >
void set_real_model_parameter (Model &m, int i, double x)
 Parameter setter for anything that implements operator[]. More...
 
template<class Model >
void move_real_model_parameter (Model &m, int i, double x)
 Parameter mover for anything that implements operator[] and whose elements are double. More...
 
template<class Model >
int get_real_model_dimension (const Model &)
 Dimension for any model that implements the size() member function. More...
 

Function Documentation

template<class Model >
int get_real_model_dimension ( const Model &  )
inline

Dimension for any model that implements the size() member function.

template<class Model >
double get_real_model_parameter ( const Model &  m,
int  i 
)
inline

Parameter getter for anything that implements operator[].

template<class Model >
void move_real_model_parameter ( Model &  m,
int  i,
double  x 
)
inline

Parameter mover for anything that implements operator[] and whose elements are double.

template<class Model >
void set_real_model_parameter ( Model &  m,
int  i,
double  x 
)
inline

Parameter setter for anything that implements operator[].