An implementation of the current epidemic final size code in finalsize.R in C++ using RcppEigen. Adds the function final_size_cpp, with the same arguments as final_size.
Fixes:
8 by implementing a very basic solver algorithm
34 by adding catch2 based testing for C++ funs in header finalsize.h. Catch2 used for better integration with testthat
An implementation of the current epidemic final size code in
finalsize.R
in C++ using RcppEigen. Adds the functionfinal_size_cpp
, with the same arguments asfinal_size
.Fixes:
8 by implementing a very basic solver algorithm
34 by adding
catch2
based testing for C++ funs in headerfinalsize.h
. Catch2 used for better integration withtestthat
35 by adding regular
testthat
tests