|
MCKL
Monte Carlo Kernel Library
|
#include <mckl/random/dirichlet_distribution.hpp>
Classes | |
| class | param_type |
Public Types | |
| using | distribution_type = DirichletDistribution< RealType > |
| using | result_type = RealType |
Public Member Functions | |
| DirichletDistribution (std::size_t dim=1) | |
| Construct a distribution with scalar shape. More... | |
| DirichletDistribution (std::size_t dim, result_type alpha) | |
| Construct a distribution with scalar shape. More... | |
| DirichletDistribution (std::size_t dim, const result_type *alpha) | |
| Construct a distribution with vector shapes. More... | |
| DirichletDistribution (const param_type ¶m) | |
| DirichletDistribution (param_type &¶m) | |
| const result_type * | alpha () const |
| std::size_t | dim () const |
| template<typename OutputIter > | |
| OutputIter | max (OutputIter first) const |
| template<typename OutputIter > | |
| OutputIter | min (OutputIter first) const |
| template<typename RNGType > | |
| void | operator() (RNGType &rng, result_type *r) |
| template<typename RNGType > | |
| void | operator() (RNGType &rng, result_type *r, const param_type ¶m) |
| template<typename RNGType > | |
| void | operator() (RNGType &rng, std::size_t n, result_type *r) |
| template<typename RNGType > | |
| void | operator() (RNGType &rng, std::size_t n, result_type *r, const param_type ¶m) |
| const param_type & | param () const |
| void | param (const param_type ¶m) |
| void | param (param_type &¶m) |
| void | reset () |
Friends | |
| bool | operator!= (const distribution_type &dist1, const distribution_type &dist2) |
| template<typename CharT , typename Traits > | |
| std::basic_ostream< CharT, Traits > & | operator<< (std::basic_ostream< CharT, Traits > &os, const distribution_type &dist) |
| bool | operator== (const distribution_type &dist1, const distribution_type &dist2) |
| template<typename CharT , typename Traits > | |
| std::basic_istream< CharT, Traits > & | operator>> (std::basic_istream< CharT, Traits > &is, distribution_type &dist) |
Definition at line 98 of file dirichlet_distribution.hpp.
| using mckl::DirichletDistribution< RealType >::distribution_type = DirichletDistribution<RealType> |
Definition at line 104 of file dirichlet_distribution.hpp.
| using mckl::DirichletDistribution< RealType >::result_type = RealType |
Definition at line 103 of file dirichlet_distribution.hpp.
|
inline |
Construct a distribution with scalar shape.
Definition at line 206 of file dirichlet_distribution.hpp.
|
inline |
Construct a distribution with scalar shape.
Definition at line 209 of file dirichlet_distribution.hpp.
|
inline |
Construct a distribution with vector shapes.
Definition at line 216 of file dirichlet_distribution.hpp.
|
inlineexplicit |
Definition at line 222 of file dirichlet_distribution.hpp.
|
inlineexplicit |
Definition at line 227 of file dirichlet_distribution.hpp.
|
inline |
Definition at line 249 of file dirichlet_distribution.hpp.
|
inline |
Definition at line 247 of file dirichlet_distribution.hpp.
|
inline |
Definition at line 240 of file dirichlet_distribution.hpp.
|
inline |
Definition at line 234 of file dirichlet_distribution.hpp.
|
inline |
Definition at line 266 of file dirichlet_distribution.hpp.
|
inline |
Definition at line 272 of file dirichlet_distribution.hpp.
|
inline |
Definition at line 278 of file dirichlet_distribution.hpp.
|
inline |
Definition at line 284 of file dirichlet_distribution.hpp.
|
inline |
Definition at line 251 of file dirichlet_distribution.hpp.
|
inline |
Definition at line 253 of file dirichlet_distribution.hpp.
|
inline |
Definition at line 259 of file dirichlet_distribution.hpp.
|
inline |
Definition at line 245 of file dirichlet_distribution.hpp.
|
friend |
Definition at line 303 of file dirichlet_distribution.hpp.
|
friend |
Definition at line 310 of file dirichlet_distribution.hpp.
|
friend |
Definition at line 294 of file dirichlet_distribution.hpp.
|
friend |
Definition at line 323 of file dirichlet_distribution.hpp.
1.8.13