Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions
traits.hpp File Reference
#include <vector>
#include <boost/type_traits.hpp>
#include <boost/type_traits/is_arithmetic.hpp>
#include <boost/math/tools/promotion.hpp>
#include <stan/agrad/fwd/fvar.hpp>
#include <stan/agrad/rev/var.hpp>
#include <stan/math/matrix/Eigen.hpp>
#include <stan/math/matrix/meta/value_type.hpp>
#include <stan/math/meta/value_type.hpp>

Go to the source code of this file.

Classes

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

Namespaces

 stan
 Probability, optimization and sampling library.
 

Functions

template<typename T >
stan::get (const T &x, size_t n)
 
template<typename T >
stan::get (const std::vector< T > &x, size_t n)
 
template<typename T , int R, int C>
stan::get (const Eigen::Matrix< T, R, C > &m, size_t n)
 
template<typename T >
size_t stan::length (const T &)
 
template<typename T >
size_t stan::length (const std::vector< T > &x)
 
template<typename T , int R, int C>
size_t stan::length (const Eigen::Matrix< T, R, C > &m)
 
template<typename T >
size_t stan::size_of (const T &x)
 
template<typename T1 , typename T2 >
size_t stan::max_size (const T1 &x1, const T2 &x2)
 
template<typename T1 , typename T2 , typename T3 >
size_t stan::max_size (const T1 &x1, const T2 &x2, const T3 &x3)
 
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)
 
template<typename T >
size_t stan::length_mvt (const T &)
 
template<typename T , int R, int C>
size_t stan::length_mvt (const Eigen::Matrix< T, R, C > &)
 
template<typename T , int R, int C>
size_t stan::length_mvt (const std::vector< Eigen::Matrix< T, R, C > > &x)
 
template<typename T1 , typename T2 >
size_t stan::max_size_mvt (const T1 &x1, const T2 &x2)
 
template<typename T1 , typename T2 , typename T3 >
size_t stan::max_size_mvt (const T1 &x1, const T2 &x2, const T3 &x3)
 
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)
 

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