Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
check_spsd_matrix.hpp File Reference
#include <sstream>
#include <stan/math/matrix/Eigen.hpp>
#include <stan/math/error_handling/check_positive.hpp>
#include <stan/math/error_handling/matrix/check_pos_semidefinite.hpp>
#include <stan/math/error_handling/matrix/check_symmetric.hpp>
#include <stan/math/error_handling/matrix/check_square.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_y , typename T_result >
bool stan::math::check_spsd_matrix (const char *function, const Eigen::Matrix< T_y, Eigen::Dynamic, Eigen::Dynamic > &y, const char *name, T_result *result)
 Return true if the specified matrix is a square, symmetric, and positive semi-definite. More...
 

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