Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Classes | Functions | Variables
stan Namespace Reference

Probability, optimization and sampling library. More...

Namespaces

 agrad
 Function gradients via reverse-mode automatic differentiation.
 
 common
 
 gm
 Directed graphical model compiler.
 
 io
 Input/output utilities.
 
 json
 
 math
 Matrices and templated mathematical functions.
 
 mcmc
 Markov chain Monte Carlo samplers.
 
 memory
 (Expert) Allocate, free, and manage underlying system memory.
 
 model
 For compiling models.
 
 optimization
 
 prob
 Templated probability distributions.
 

Classes

struct  error_index
 
struct  is_constant
 Metaprogramming struct to detect whether a given type is constant in the mathematical sense (not the C++ const sense). More...
 
struct  is_constant_struct
 Metaprogram to determine if a type has a base scalar type that can be assigned to type double. More...
 
struct  is_constant_struct< std::vector< T > >
 
struct  is_constant_struct< Eigen::Matrix< T, R, C > >
 
struct  is_constant_struct< Eigen::Block< T > >
 
struct  is_vector
 
struct  is_vector< const T >
 
struct  is_vector< std::vector< T > >
 
struct  is_vector< Eigen::Matrix< T, Eigen::Dynamic, 1 > >
 
struct  is_vector< Eigen::Matrix< T, 1, Eigen::Dynamic > >
 
struct  is_vector< Eigen::Block< T > >
 
struct  scalar_type
 Metaprogram structure to determine the base scalar type of a template argument. More...
 
struct  size_of_helper
 
struct  size_of_helper< T, true >
 
struct  scalar_type< Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > >
 
struct  scalar_type< T * >
 
struct  is_vector_like
 
struct  is_vector_like< T * >
 
struct  is_vector_like< const T >
 
struct  is_vector_like< Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > >
 
class  VectorView
 VectorView is a template metaprogram that takes its argument and allows it to be used like a vector. More...
 
class  VectorView< const T, is_array, throw_if_accessed >
 VectorView that has const correctness. More...
 
class  VectorView< const double, false, false >
 
class  DoubleVectorView
 DoubleVectorView allocates double values to be used as intermediate values. More...
 
class  DoubleVectorView< true, false >
 
class  DoubleVectorView< true, true >
 
struct  return_type
 Metaprogram to calculate the base scalar return type resulting from promoting all the scalar types of the template parameters. More...
 
struct  is_fvar
 
struct  is_fvar< stan::agrad::fvar< T > >
 
struct  is_var
 
struct  is_var< stan::agrad::var >
 
struct  contains_fvar
 Metaprogram to calculate the base scalar return type resulting from promoting all the scalar types of the template parameters. More...
 
struct  is_var_or_arithmetic
 
struct  scalar_type_pre
 Metaprogram structure to determine the type of first container of the base scalar type of a template argument. More...
 
class  VectorViewMvt
 
class  VectorViewMvt< const T, is_array, throw_if_accessed >
 VectorViewMvt that has const correctness. More...
 

Functions

template<typename T >
get (const T &x, size_t n)
 
template<typename T >
get (const std::vector< T > &x, size_t n)
 
template<typename T , int R, int C>
get (const Eigen::Matrix< T, R, C > &m, size_t n)
 
template<typename T >
size_t length (const T &)
 
template<typename T >
size_t length (const std::vector< T > &x)
 
template<typename T , int R, int C>
size_t length (const Eigen::Matrix< T, R, C > &m)
 
template<typename T >
size_t size_of (const T &x)
 
template<typename T1 , typename T2 >
size_t max_size (const T1 &x1, const T2 &x2)
 
template<typename T1 , typename T2 , typename T3 >
size_t max_size (const T1 &x1, const T2 &x2, const T3 &x3)
 
template<typename T1 , typename T2 , typename T3 , typename T4 >
size_t max_size (const T1 &x1, const T2 &x2, const T3 &x3, const T4 &x4)
 
template<typename T >
size_t length_mvt (const T &)
 
template<typename T , int R, int C>
size_t length_mvt (const Eigen::Matrix< T, R, C > &)
 
template<typename T , int R, int C>
size_t length_mvt (const std::vector< Eigen::Matrix< T, R, C > > &x)
 
template<typename T1 , typename T2 >
size_t max_size_mvt (const T1 &x1, const T2 &x2)
 
template<typename T1 , typename T2 , typename T3 >
size_t max_size_mvt (const T1 &x1, const T2 &x2, const T3 &x3)
 
template<typename T1 , typename T2 , typename T3 , typename T4 >
size_t max_size_mvt (const T1 &x1, const T2 &x2, const T3 &x3, const T4 &x4)
 

Variables

const std::string MAJOR_VERSION = "2"
 Major version number for Stan package. More...
 
const std::string MINOR_VERSION = "5"
 Minor version number for Stan package. More...
 
const std::string PATCH_VERSION = "0"
 Patch version for Stan package. More...
 

Detailed Description

Probability, optimization and sampling library.

Function Documentation

template<typename T >
T stan::get ( const T &  x,
size_t  n 
)
inline

Definition at line 143 of file traits.hpp.

template<typename T >
T stan::get ( const std::vector< T > &  x,
size_t  n 
)
inline

Definition at line 147 of file traits.hpp.

template<typename T , int R, int C>
T stan::get ( const Eigen::Matrix< T, R, C > &  m,
size_t  n 
)
inline

Definition at line 151 of file traits.hpp.

template<typename T >
size_t stan::length ( const T &  )

Definition at line 159 of file traits.hpp.

template<typename T >
size_t stan::length ( const std::vector< T > &  x)

Definition at line 163 of file traits.hpp.

template<typename T , int R, int C>
size_t stan::length ( const Eigen::Matrix< T, R, C > &  m)

Definition at line 167 of file traits.hpp.

template<typename T >
size_t stan::length_mvt ( const T &  )

Definition at line 561 of file traits.hpp.

template<typename T , int R, int C>
size_t stan::length_mvt ( const Eigen::Matrix< T, R, C > &  )

Definition at line 566 of file traits.hpp.

template<typename T , int R, int C>
size_t stan::length_mvt ( const std::vector< Eigen::Matrix< T, R, C > > &  x)

Definition at line 570 of file traits.hpp.

template<typename T1 , typename T2 >
size_t stan::max_size ( const T1 &  x1,
const T2 &  x2 
)

Definition at line 191 of file traits.hpp.

template<typename T1 , typename T2 , typename T3 >
size_t stan::max_size ( const T1 &  x1,
const T2 &  x2,
const T3 &  x3 
)

Definition at line 198 of file traits.hpp.

template<typename T1 , typename T2 , typename T3 , typename T4 >
size_t stan::max_size ( const T1 &  x1,
const T2 &  x2,
const T3 &  x3,
const T4 &  x4 
)

Definition at line 206 of file traits.hpp.

template<typename T1 , typename T2 >
size_t stan::max_size_mvt ( const T1 &  x1,
const T2 &  x2 
)

Definition at line 575 of file traits.hpp.

template<typename T1 , typename T2 , typename T3 >
size_t stan::max_size_mvt ( const T1 &  x1,
const T2 &  x2,
const T3 &  x3 
)

Definition at line 582 of file traits.hpp.

template<typename T1 , typename T2 , typename T3 , typename T4 >
size_t stan::max_size_mvt ( const T1 &  x1,
const T2 &  x2,
const T3 &  x3,
const T4 &  x4 
)

Definition at line 590 of file traits.hpp.

template<typename T >
size_t stan::size_of ( const T &  x)

Definition at line 186 of file traits.hpp.

Variable Documentation

const std::string stan::MAJOR_VERSION = "2"

Major version number for Stan package.

Definition at line 9 of file version.hpp.

const std::string stan::MINOR_VERSION = "5"

Minor version number for Stan package.

Definition at line 12 of file version.hpp.

const std::string stan::PATCH_VERSION = "0"

Patch version for Stan package.

Definition at line 15 of file version.hpp.


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