Stan  1.0
probability, sampling & optimization
Namespaces | Classes | Functions | Variables
stan Namespace Reference

Probability, optimization and sampling library. More...

Namespaces

 agrad
 Function gradients via reverse-mode automatic differentiation.
 
 gm
 Directed graphical model compiler.
 
 io
 Input/output utilities.
 
 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  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_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  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
 
class  VectorView< const T, is_array >
 
class  VectorView< const double, false >
 
class  DoubleVectorView
 
class  DoubleVectorView< true, T, false >
 
class  DoubleVectorView< true, T, true >
 
struct  return_type
 Metaprogram to calculate the base scalar return type resulting from promoting all the scalar types of the template parameters. More...
 

Functions

template<typename T >
size_t length (const T &x)
 
template<typename T >
size_t length (const std::vector< T > &x)
 
template<typename T >
size_t length (const Eigen::Matrix< T, Eigen::Dynamic, 1 > &v)
 
template<typename T >
size_t length (const Eigen::Matrix< T, 1, Eigen::Dynamic > &rv)
 
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)
 

Variables

const std::string MAJOR_VERSION = "1"
 Major version number for Stan package. More...
 
const std::string MINOR_VERSION = "1"
 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

◆ length() [1/4]

template<typename T >
size_t stan::length ( const Eigen::Matrix< T, 1, Eigen::Dynamic > &  rv)

Definition at line 124 of file traits.hpp.

◆ length() [2/4]

template<typename T >
size_t stan::length ( const Eigen::Matrix< T, Eigen::Dynamic, 1 > &  v)

Definition at line 120 of file traits.hpp.

◆ length() [3/4]

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

Definition at line 115 of file traits.hpp.

◆ length() [4/4]

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

Definition at line 111 of file traits.hpp.

◆ max_size() [1/3]

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

Definition at line 148 of file traits.hpp.

◆ max_size() [2/3]

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

Definition at line 155 of file traits.hpp.

◆ max_size() [3/3]

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 163 of file traits.hpp.

◆ size_of()

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

Definition at line 143 of file traits.hpp.

Variable Documentation

◆ MAJOR_VERSION

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

Major version number for Stan package.

Definition at line 9 of file version.hpp.

◆ MINOR_VERSION

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

Minor version number for Stan package.

Definition at line 12 of file version.hpp.

◆ PATCH_VERSION

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

Patch version for Stan package.

Definition at line 15 of file version.hpp.


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