Stan  1.0
probability, sampling & optimization
Namespaces | Functions
matrix_error_handling.hpp File Reference
#include <stan/math/matrix.hpp>
#include <stan/meta/traits.hpp>
#include <stan/math/error_handling.hpp>
#include <boost/type_traits/common_type.hpp>

Go to the source code of this file.

Namespaces

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

Functions

template<typename T_size1 , typename T_size2 , typename T_result , class Policy >
bool stan::math::check_size_match (const char *function, T_size1 i, T_size2 j, T_result *result, const Policy &)
 
template<typename T_size1 , typename T_size2 , typename T_result >
bool stan::math::check_size_match (const char *function, T_size1 i, T_size2 j, T_result *result)
 
template<typename T_size1 , typename T_size2 >
bool stan::math::check_size_match (const char *function, T_size1 i, T_size2 j, T_size1 *result=0)
 
template<typename T_y , typename T_result , class Policy >
bool stan::math::check_symmetric (const char *function, const Eigen::Matrix< T_y, Eigen::Dynamic, Eigen::Dynamic > &y, const char *name, T_result *result, const Policy &)
 Return true if the specified matrix is symmetric. More...
 
template<typename T_y , typename T_result >
bool stan::math::check_symmetric (const char *function, const Eigen::Matrix< T_y, Eigen::Dynamic, Eigen::Dynamic > &y, const char *name, T_result *result)
 
template<typename T >
bool stan::math::check_symmetric (const char *function, const Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > &y, const char *name, T *result=0)
 
template<typename T_y , typename T_result , class Policy >
bool stan::math::check_pos_definite (const char *function, const Eigen::Matrix< T_y, Eigen::Dynamic, Eigen::Dynamic > &y, const char *name, T_result *result, const Policy &)
 Return true if the specified matrix is positive definite. More...
 
template<typename T_y , typename T_result >
bool stan::math::check_pos_definite (const char *function, const Eigen::Matrix< T_y, Eigen::Dynamic, Eigen::Dynamic > &y, const char *name, T_result *result)
 
template<typename T >
bool stan::math::check_pos_definite (const char *function, const Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > &y, const char *name, T *result=0)
 
template<typename T_y , typename T_result , class Policy >
bool stan::math::check_cov_matrix (const char *function, const Eigen::Matrix< T_y, Eigen::Dynamic, Eigen::Dynamic > &y, const char *name, T_result *result, const Policy &)
 Return true if the specified matrix is a valid covariance matrix. More...
 
template<typename T_y , typename T_result >
bool stan::math::check_cov_matrix (const char *function, const Eigen::Matrix< T_y, Eigen::Dynamic, Eigen::Dynamic > &y, const char *name, T_result *result)
 
template<typename T >
bool stan::math::check_cov_matrix (const char *function, const Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > &y, const char *name, T *result=0)
 
template<typename T_y , typename T_result , class Policy >
bool stan::math::check_corr_matrix (const char *function, const Eigen::Matrix< T_y, Eigen::Dynamic, Eigen::Dynamic > &y, const char *name, T_result *result, const Policy &)
 Return true if the specified matrix is a valid correlation matrix. More...
 
template<typename T_y , typename T_result >
bool stan::math::check_corr_matrix (const char *function, const Eigen::Matrix< T_y, Eigen::Dynamic, Eigen::Dynamic > &y, const char *name, T_result *result)
 
template<typename T >
bool stan::math::check_corr_matrix (const char *function, const Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > &y, const char *name, T *result=0)
 
template<typename T_covar , typename T_result , class Policy >
bool stan::math::check_cov_matrix (const char *function, const Eigen::Matrix< T_covar, Eigen::Dynamic, Eigen::Dynamic > &Sigma, T_result *result, const Policy &)
 Return true if the specified matrix is a valid covariance matrix. More...
 
template<typename T_covar , typename T_result >
bool stan::math::check_cov_matrix (const char *function, const Eigen::Matrix< T_covar, Eigen::Dynamic, Eigen::Dynamic > &Sigma, T_result *result)
 
template<typename T >
bool stan::math::check_cov_matrix (const char *function, const Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > &Sigma, T *result=0)
 
template<typename T_prob , typename T_result , class Policy >
bool stan::math::check_simplex (const char *function, const Eigen::Matrix< T_prob, Eigen::Dynamic, 1 > &theta, const char *name, T_result *result, const Policy &)
 Return true if the specified vector is simplex. More...
 
template<typename T_y , typename T_result >
bool stan::math::check_simplex (const char *function, const Eigen::Matrix< T_y, Eigen::Dynamic, 1 > &theta, const char *name, T_result *result)
 
template<typename T >
bool stan::math::check_simplex (const char *function, const Eigen::Matrix< T, Eigen::Dynamic, 1 > &theta, const char *name, T *result=0)
 
template<typename T_y , typename T_result , class Policy >
bool stan::math::check_ordered (const char *function, const Eigen::Matrix< T_y, Eigen::Dynamic, 1 > &y, const char *name, T_result *result, const Policy &)
 Return true if the specified vector is sorted into increasing order. More...
 
template<typename T_y , typename T_result >
bool stan::math::check_ordered (const char *function, const Eigen::Matrix< T_y, Eigen::Dynamic, 1 > &y, const char *name, T_result *result)
 
template<typename T >
bool stan::math::check_ordered (const char *function, const Eigen::Matrix< T, Eigen::Dynamic, 1 > &y, const char *name, T *result=0)
 
template<typename T_y , typename T_result , class Policy >
bool stan::math::check_positive_ordered (const char *function, const Eigen::Matrix< T_y, Eigen::Dynamic, 1 > &y, const char *name, T_result *result, const Policy &)
 Return true if the specified vector contains only non-negative values and is sorted into increasing order. More...
 
template<typename T_y , typename T_result >
bool stan::math::check_positive_ordered (const char *function, const Eigen::Matrix< T_y, Eigen::Dynamic, 1 > &y, const char *name, T_result *result)
 
template<typename T >
bool stan::math::check_positive_ordered (const char *function, const Eigen::Matrix< T, Eigen::Dynamic, 1 > &y, const char *name, T *result=0)
 
template<typename T_y , typename T_result , class Policy >
bool stan::math::check_not_nan (const char *function, const Eigen::Matrix< T_y, Eigen::Dynamic, Eigen::Dynamic > &y, const char *name, T_result *result, const Policy &)
 
template<typename T_y , typename T_result >
bool stan::math::check_not_nan (const char *function, const Eigen::Matrix< T_y, Eigen::Dynamic, Eigen::Dynamic > &y, const char *name, T_result *result)
 
template<typename T >
bool stan::math::check_not_nan (const char *function, const Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > &y, const char *name, T *result=0)
 

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