A simple facility for tracking the progress of an estimator. See Example.jl for a quick introduction. Based on functions developed by Mark Agerton.
using CountPlus
resetcount()
[countplus!() for ii in 1:T]
resetcount()
[countplus!(1.0*mod(ii,5)) for ii in 1:T]
# currently requires Float64
resetcount()
[countplus!((ii-100)^2,ii) for ii in [1.0:T;]]
# currently requires Float64
You can add an extra entry to the 2nd array that occurs after the maximum of the first array is reached.
set_count(iterations,denominations)