A multi-dimensional probability density function.
This class is experimental.
Public Functions
-
size_t
dim
() const
Return the dimensionality.
-
double
pdf
(const vec_t &x) const
The normalized density.
-
double
log_pdf
(const vec_t &x) const
The log of the normalized density.
-
void
operator()
(vec_t &x) const
Sample the distribution.