Stan  2.10.0
probability, sampling & optimization
Public Member Functions | Public Attributes | Static Protected Member Functions | Friends | List of all members
stan::mcmc::ps_point Class Reference

Point in a generic phase space. More...

#include <ps_point.hpp>

Inheritance diagram for stan::mcmc::ps_point:
stan::mcmc::dense_e_point stan::mcmc::diag_e_point stan::mcmc::softabs_point stan::mcmc::unit_e_point

Public Member Functions

 ps_point (int n)
 
 ps_point (const ps_point &z)
 
ps_pointoperator= (const ps_point &z)
 
virtual void get_param_names (std::vector< std::string > &model_names, std::vector< std::string > &names)
 
virtual void get_params (std::vector< double > &values)
 
virtual void write_metric (stan::interface_callbacks::writer::base_writer &writer)
 Writes the metric. More...
 

Public Attributes

Eigen::VectorXd q
 
Eigen::VectorXd p
 
double V
 
Eigen::VectorXd g
 

Static Protected Member Functions

template<typename T >
static void fast_vector_copy_ (Eigen::Matrix< T, Dynamic, 1 > &v_to, const Eigen::Matrix< T, Dynamic, 1 > &v_from)
 
template<typename T >
static void fast_matrix_copy_ (Eigen::Matrix< T, Dynamic, Dynamic > &v_to, const Eigen::Matrix< T, Dynamic, Dynamic > &v_from)
 

Friends

class ps_point_test
 

Detailed Description

Point in a generic phase space.

Definition at line 17 of file ps_point.hpp.

Constructor & Destructor Documentation

stan::mcmc::ps_point::ps_point ( int  n)
inlineexplicit

Definition at line 21 of file ps_point.hpp.

stan::mcmc::ps_point::ps_point ( const ps_point z)
inline

Definition at line 24 of file ps_point.hpp.

Member Function Documentation

template<typename T >
static void stan::mcmc::ps_point::fast_matrix_copy_ ( Eigen::Matrix< T, Dynamic, Dynamic > &  v_to,
const Eigen::Matrix< T, Dynamic, Dynamic > &  v_from 
)
inlinestaticprotected

Definition at line 91 of file ps_point.hpp.

template<typename T >
static void stan::mcmc::ps_point::fast_vector_copy_ ( Eigen::Matrix< T, Dynamic, 1 > &  v_to,
const Eigen::Matrix< T, Dynamic, 1 > &  v_from 
)
inlinestaticprotected

Definition at line 81 of file ps_point.hpp.

virtual void stan::mcmc::ps_point::get_param_names ( std::vector< std::string > &  model_names,
std::vector< std::string > &  names 
)
inlinevirtual

Definition at line 51 of file ps_point.hpp.

virtual void stan::mcmc::ps_point::get_params ( std::vector< double > &  values)
inlinevirtual

Definition at line 61 of file ps_point.hpp.

ps_point& stan::mcmc::ps_point::operator= ( const ps_point z)
inline

Definition at line 31 of file ps_point.hpp.

virtual void stan::mcmc::ps_point::write_metric ( stan::interface_callbacks::writer::base_writer writer)
inlinevirtual

Writes the metric.

Parameters
writerwriter callback

Reimplemented in stan::mcmc::softabs_point, stan::mcmc::dense_e_point, and stan::mcmc::diag_e_point.

Definition at line 76 of file ps_point.hpp.

Friends And Related Function Documentation

friend class ps_point_test
friend

Definition at line 18 of file ps_point.hpp.

Member Data Documentation

Eigen::VectorXd stan::mcmc::ps_point::g

Definition at line 49 of file ps_point.hpp.

Eigen::VectorXd stan::mcmc::ps_point::p

Definition at line 46 of file ps_point.hpp.

Eigen::VectorXd stan::mcmc::ps_point::q

Definition at line 45 of file ps_point.hpp.

double stan::mcmc::ps_point::V

Definition at line 48 of file ps_point.hpp.


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

     [ Stan Home Page ] © 2011–2016, Stan Development Team.