Stan  1.0
probability, sampling & optimization
Namespaces | Typedefs | Functions | Variables
error_handling.hpp File Reference
#include <algorithm>
#include <cstddef>
#include <limits>
#include <utility>
#include <iostream>
#include <boost/math/policies/policy.hpp>
#include <boost/type_traits/is_unsigned.hpp>
#include <stan/meta/traits.hpp>
#include <stan/math/boost_error_handling.hpp>

Go to the source code of this file.

Namespaces

 stan
 Probability, optimization and sampling library.
 
 stan::math
 Matrices and templated mathematical functions.
 

Typedefs

typedef boost::math::policies::policy stan::math::default_policy
 Default error-handling policy from Boost. More...
 

Functions

template<typename T_y , typename T_result , class Policy >
bool stan::math::check_not_nan (const char *function, const T_y &y, const char *name, T_result *result, const Policy &)
 Checks if the variable y is nan. More...
 
template<typename T_y , typename T_result >
bool stan::math::check_not_nan (const char *function, const T_y &y, const char *name, T_result *result=0)
 Checks if the variable y is nan. More...
 
template<typename T >
bool stan::math::check_not_nan (const char *function, const T &y, const char *name)
 
template<typename T_y , typename T_result , class Policy >
bool stan::math::check_finite (const char *function, const T_y &y, const char *name, T_result *result, const Policy &)
 Checks if the variable y is finite. More...
 
template<typename T_y , typename T_result >
bool stan::math::check_finite (const char *function, const T_y &y, const char *name, T_result *result)
 
template<typename T >
bool stan::math::check_finite (const char *function, const T &y, const char *name)
 
template<typename T_y , typename T_low , typename T_result , class Policy >
bool stan::math::check_greater (const char *function, const T_y &y, const T_low &low, const char *name, T_result *result, const Policy &)
 
template<typename T_y , typename T_low , typename T_result >
bool stan::math::check_greater (const char *function, const T_y &y, const T_low &low, const char *name, T_result *result)
 
template<typename T_y , typename T_low >
bool stan::math::check_greater (const char *function, const T_y &y, const T_low &low, const char *name)
 
template<typename T_y , typename T_low , typename T_result , class Policy >
bool stan::math::check_greater_or_equal (const char *function, const T_y &y, const T_low &low, const char *name, T_result *result, const Policy &)
 
template<typename T_y , typename T_low , typename T_result >
bool stan::math::check_greater_or_equal (const char *function, const T_y &y, const T_low &low, const char *name, T_result *result)
 
template<typename T_y , typename T_low >
bool stan::math::check_greater_or_equal (const char *function, const T_y &y, const T_low &low, const char *name)
 
template<typename T_y , typename T_high , typename T_result , class Policy >
bool stan::math::check_less (const char *function, const T_y &y, const T_high &high, const char *name, T_result *result, const Policy &)
 
template<typename T_y , typename T_high , typename T_result >
bool stan::math::check_less (const char *function, const T_y &y, const T_high &high, const char *name, T_result *result)
 
template<typename T_y , typename T_high >
bool stan::math::check_less (const char *function, const T_y &y, const T_high &high, const char *name)
 
template<typename T_y , typename T_high , typename T_result , class Policy >
bool stan::math::check_less_or_equal (const char *function, const T_y &y, const T_high &high, const char *name, T_result *result, const Policy &)
 
template<typename T_y , typename T_high , typename T_result >
bool stan::math::check_less_or_equal (const char *function, const T_y &y, const T_high &high, const char *name, T_result *result)
 
template<typename T_y , typename T_high >
bool stan::math::check_less_or_equal (const char *function, const T_y &y, const T_high &high, const char *name)
 
template<typename T_y , typename T_low , typename T_high , typename T_result , class Policy >
bool stan::math::check_bounded (const char *function, const T_y &y, const T_low &low, const T_high &high, const char *name, T_result *result, const Policy &)
 
template<typename T_y , typename T_low , typename T_high , typename T_result >
bool stan::math::check_bounded (const char *function, const T_y &y, const T_low &low, const T_high &high, const char *name, T_result *result)
 
template<typename T_y , typename T_low , typename T_high >
bool stan::math::check_bounded (const char *function, const T_y &y, const T_low &low, const T_high &high, const char *name)
 
template<typename T_y , typename T_result , class Policy >
bool stan::math::check_nonnegative (const char *function, const T_y &y, const char *name, T_result *result, const Policy &)
 
template<typename T_y , typename T_result >
bool stan::math::check_nonnegative (const char *function, const T_y &y, const char *name, T_result *result)
 
template<typename T_y >
bool stan::math::check_nonnegative (const char *function, const T_y &y, const char *name)
 
template<typename T_y , typename T_result , class Policy >
bool stan::math::check_positive (const char *function, const T_y &y, const char *name, T_result *result, const Policy &)
 
template<typename T_x , typename T_result >
bool stan::math::check_positive (const char *function, const T_x &x, const char *name, T_result *result)
 
template<typename T >
bool stan::math::check_positive (const char *function, const T &x, const char *name)
 
template<typename T , typename T_result , class Policy >
bool stan::math::check_consistent_size (size_t max_size, const char *function, const T &x, const char *name, T_result *result, const Policy &)
 
template<typename T1 , typename T2 , typename T_result , class Policy >
bool stan::math::check_consistent_sizes (const char *function, const T1 &x1, const T2 &x2, const char *name1, const char *name2, T_result *result, const Policy &)
 
template<typename T1 , typename T2 , typename T_result >
bool stan::math::check_consistent_sizes (const char *function, const T1 &x1, const T2 &x2, const char *name1, const char *name2, T_result *result)
 
template<typename T1 , typename T2 , typename T3 , typename T_result , class Policy >
bool stan::math::check_consistent_sizes (const char *function, const T1 &x1, const T2 &x2, const T3 &x3, const char *name1, const char *name2, const char *name3, T_result *result, const Policy &)
 
template<typename T1 , typename T2 , typename T3 , typename T_result >
bool stan::math::check_consistent_sizes (const char *function, const T1 &x1, const T2 &x2, const T3 &x3, const char *name1, const char *name2, const char *name3, T_result *result)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T_result , class Policy >
bool stan::math::check_consistent_sizes (const char *function, const T1 &x1, const T2 &x2, const T3 &x3, const T4 &x4, const char *name1, const char *name2, const char *name3, const char *name4, T_result *result, const Policy &)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T_result >
bool stan::math::check_consistent_sizes (const char *function, const T1 &x1, const T2 &x2, const T3 &x3, const T4 &x4, const char *name1, const char *name2, const char *name3, const char *name4, T_result *result)
 

Variables

const double stan::math::CONSTRAINT_TOLERANCE = 1E-8
 The tolerance for checking arithmetic bounds In rank and in simplexes. More...
 

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