|
MCKL
Monte Carlo Kernel Library
|
Multivariate Normal distribution. More...
#include <mckl/random/internal/common.hpp>
Classes | |
| class | param_type |
Public Types | |
| using | distribution_type = NormalMVDistribution< RealType > |
| using | result_type = RealType |
Public Member Functions | |
| NormalMVDistribution (std::size_t dim=1) | |
| Construct a distribution with scalar mean and scalar covariance. More... | |
| NormalMVDistribution (std::size_t dim, result_type mean, result_type chol) | |
| Construct a distribution with scalar mean and scalar covariance. More... | |
| NormalMVDistribution (std::size_t dim, result_type mean, const result_type *chol) | |
| Construct a distribution with scalar mean and vector covariance. More... | |
| NormalMVDistribution (std::size_t dim, const result_type *mean, result_type chol) | |
| Construct a distribution with vector mean and scalar covariance. More... | |
| NormalMVDistribution (std::size_t dim, const result_type *mean, const result_type *chol) | |
| Construct a distribution with vector mean and vector covariance. More... | |
| NormalMVDistribution (const param_type ¶m) | |
| NormalMVDistribution (param_type &¶m) | |
| const result_type * | chol () const |
| std::size_t | dim () const |
| template<typename OutputIter > | |
| OutputIter | max (OutputIter first) const |
| const result_type * | mean () 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) |
Multivariate Normal distribution.
The distribution is parameterized by its mean vector and the lower triangular elements of the Cholesky decomposition of the covaraince matrix, packed row by row.
Definition at line 1057 of file random/internal/common.hpp.
| using mckl::NormalMVDistribution< RealType >::distribution_type = NormalMVDistribution<RealType> |
Definition at line 145 of file normal_mv_distribution.hpp.
| using mckl::NormalMVDistribution< RealType >::result_type = RealType |
Definition at line 144 of file normal_mv_distribution.hpp.
|
inlineexplicit |
Construct a distribution with scalar mean and scalar covariance.
Definition at line 286 of file normal_mv_distribution.hpp.
|
inline |
Construct a distribution with scalar mean and scalar covariance.
Definition at line 292 of file normal_mv_distribution.hpp.
|
inline |
Construct a distribution with scalar mean and vector covariance.
Definition at line 299 of file normal_mv_distribution.hpp.
|
inline |
Construct a distribution with vector mean and scalar covariance.
Definition at line 307 of file normal_mv_distribution.hpp.
|
inline |
Construct a distribution with vector mean and vector covariance.
Definition at line 315 of file normal_mv_distribution.hpp.
|
inlineexplicit |
Definition at line 322 of file normal_mv_distribution.hpp.
|
inlineexplicit |
Definition at line 327 of file normal_mv_distribution.hpp.
|
inline |
Definition at line 353 of file normal_mv_distribution.hpp.
|
inline |
Definition at line 349 of file normal_mv_distribution.hpp.
|
inline |
Definition at line 341 of file normal_mv_distribution.hpp.
|
inline |
Definition at line 351 of file normal_mv_distribution.hpp.
|
inline |
Definition at line 334 of file normal_mv_distribution.hpp.
|
inline |
Definition at line 370 of file normal_mv_distribution.hpp.
|
inline |
Definition at line 376 of file normal_mv_distribution.hpp.
|
inline |
Definition at line 382 of file normal_mv_distribution.hpp.
|
inline |
Definition at line 388 of file normal_mv_distribution.hpp.
|
inline |
Definition at line 355 of file normal_mv_distribution.hpp.
|
inline |
Definition at line 357 of file normal_mv_distribution.hpp.
|
inline |
Definition at line 363 of file normal_mv_distribution.hpp.
|
inline |
Definition at line 347 of file normal_mv_distribution.hpp.
|
friend |
Definition at line 415 of file normal_mv_distribution.hpp.
|
friend |
Definition at line 422 of file normal_mv_distribution.hpp.
|
friend |
Definition at line 406 of file normal_mv_distribution.hpp.
|
friend |
Definition at line 435 of file normal_mv_distribution.hpp.
1.8.13