KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
sample_vector.h File Reference
#include <algorithm>
#include "sample_cpp/sample_step.h"
#include "sample_cpp/sample_default.h"
#include <wrap_lapack/wrap_lapack.h>
#include <prob_cpp/prob_distribution.h>
#include <m_cpp/m_matrix.h>
#include <n_cpp/n_cholesky.h>

Go to the source code of this file.

Classes

class  Vector_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  Vector_hmc_step< Model, CONSTRAIN_TARGET, INCLUDE_ACCEPT_STEP, REVERSIBLE >
 
class  Vector_sd_step< Model, REVERSIBLE >
 
class  Independent_gaussian_proposer< SimpleVector >
 
class  Mv_gaussian_proposer< VectorModel >
 
class  Vector_srw_step< VectorModel >
 

Functions

template<class Model >
double get_vector_model_parameter (const Model &m, int i)
 Parameter getter for anything that implements operator[]. More...
 
template<class Model >
void set_vector_model_parameter (Model &m, int i, double x)
 Parameter setter for anything that implements operator[]. More...
 
template<class Model >
void move_vector_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_vector_model_dimension (const Model &m)
 Dimension for any model that implements the size() member function. More...
 

Function Documentation

template<class Model >
int get_vector_model_dimension ( const Model &  m)
inline

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

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

Parameter getter for anything that implements operator[].

template<class Model >
void move_vector_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_vector_model_parameter ( Model &  m,
int  i,
double  x 
)
inline

Parameter setter for anything that implements operator[].