| Stan Math Library 2.12.0 reverse mode automatic differentiation

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Namespaces | Functions
lkj_corr_rng.hpp File Reference
`#include <stan/math/prim/mat/fun/multiply_lower_tri_self_transpose.hpp>`
`#include <stan/math/prim/mat/prob/lkj_corr_cholesky_rng.hpp>`
`#include <stan/math/prim/scal/err/check_positive.hpp>`

Go to the source code of this file.

## Namespaces
| stan
| stan::math
| Matrices and templated mathematical functions.

## Functions
template<class RNG >
Eigen::MatrixXd | stan::math::lkj_corr_rng (size_t K, double eta, RNG &rng)
| Return a random correlation matrix (symmetric, positive definite, unit diagonal) of the specified dimensionality drawn from the LKJ distribution with the specified degrees of freedom using the specified random number generator. More...

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