![]() |
Stan
1.3
probability, sampling & optimization
|
#include <sstream>#include <stan/math/matrix/Eigen.hpp>#include <stan/math/error_handling/default_policy.hpp>#include <stan/math/error_handling/raise_domain_error.hpp>#include <stan/math/error_handling/matrix/constraint_tolerance.hpp>Go to the source code of this file.
Namespaces | |
| namespace | stan |
| Probability, optimization and sampling library. | |
| namespace | stan::math |
| Matrices and templated mathematical functions. | |
Functions | |
| 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. | |
| 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) |