Description Usage Arguments Value
For each shape and rate parameter pair the Dirichlet density is
computed. Inside the function the unsafe access functions of Armadillo
at()
and unsafe_col()
are used, so now boundary check is performed.
In each step the lgammafn()
function from Rcpp's R
namespace is used.
At this time unused.
1 | ddirichlet_cc(values, par)
|
values |
A matrix of dimension |
par |
A vector of dimension |
A vector of Dirichlet density values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.