|
template<typename AlphaTy > |
| DirichletGen (const MatrixBase< AlphaTy > &_alpha) |
| Construct a new Dirichlet generator. More...
|
|
| DirichletGen (const DirichletGen &)=default |
|
| DirichletGen (DirichletGen &&)=default |
|
Index | dims () const |
|
template<typename Urng > |
Matrix< _Scalar, Dim, -1 > | generate (Urng &&urng, Index samples) |
|
template<typename Urng > |
Matrix< _Scalar, Dim, 1 > | generate (Urng &&urng) |
|
Public Member Functions inherited from Eigen::Rand::MvVecGenBase< DirichletGen< _Scalar, -1 >, _Scalar, -1 > |
Index | dims () const |
| returns the dimensions of vectors to be generated
|
|
Matrix< _Scalar, Dim, -1 > | generate (Urng &&urng, Index samples) |
| generates multiple samples at once More...
|
|
Matrix< _Scalar, Dim, 1 > | generate (Urng &&urng) |
| generates one sample More...
|
|
template<typename _Scalar, Index Dim = -1>
class Eigen::Rand::DirichletGen< _Scalar, Dim >
Generator of reals on a Dirichlet distribution.
- Template Parameters
-
_Scalar | |
Dim | number of dimensions, or Eigen::Dynamic |