Adds C++ engine for multinomPois and makes it the default. It's not a lot faster (maybe 30%), but multinomPois was already pretty fast (at least for the example datasets). As with gmultmix it only supports double/removal piFuns - if the user provides a custom piFun it gives a warning and drops back to the R engine. I added tests and also had to update the cap-recap vignette since it uses a custom piFun for multinomPois.
Adds C++ engine for
multinomPois
and makes it the default. It's not a lot faster (maybe 30%), butmultinomPois
was already pretty fast (at least for the example datasets). As withgmultmix
it only supports double/removal piFuns - if the user provides a custom piFun it gives a warning and drops back to the R engine. I added tests and also had to update the cap-recap vignette since it uses a custom piFun formultinomPois
.Here's an R script to benchmark the C engine: multinomPois_C_example.txt