![]() |
Stan
1.3
probability, sampling & optimization
|
#include <boost/random/uniform_01.hpp>#include <boost/random/variate_generator.hpp>#include <stan/prob/traits.hpp>#include <stan/math/matrix_error_handling.hpp>#include <stan/math/error_handling.hpp>#include <stan/prob/constants.hpp>#include <stan/math/functions/value_of.hpp>Go to the source code of this file.
Namespaces | |
| namespace | stan |
| Probability, optimization and sampling library. | |
| namespace | stan::prob |
| Templated probability distributions. | |
Functions | |
| template<bool propto, typename T_prob , class Policy > | |
| boost::math::tools::promote_args < T_prob >::type | stan::prob::categorical_log (int n, const Eigen::Matrix< T_prob, Eigen::Dynamic, 1 > &theta, const Policy &) |
| template<bool propto, typename T_prob > | |
| boost::math::tools::promote_args < T_prob >::type | stan::prob::categorical_log (const typename Eigen::Matrix< T_prob, Eigen::Dynamic, 1 >::size_type n, const Eigen::Matrix< T_prob, Eigen::Dynamic, 1 > &theta) |
| template<typename T_prob , class Policy > | |
| boost::math::tools::promote_args < T_prob >::type | stan::prob::categorical_log (const typename Eigen::Matrix< T_prob, Eigen::Dynamic, 1 >::size_type n, const Eigen::Matrix< T_prob, Eigen::Dynamic, 1 > &theta, const Policy &) |
| template<typename T_prob > | |
| boost::math::tools::promote_args < T_prob >::type | stan::prob::categorical_log (const typename Eigen::Matrix< T_prob, Eigen::Dynamic, 1 >::size_type n, const Eigen::Matrix< T_prob, Eigen::Dynamic, 1 > &theta) |
| template<class RNG > | |
| int | stan::prob::categorical_rng (const Eigen::Matrix< double, Eigen::Dynamic, 1 > &theta, RNG &rng) |