runs the multithreaded test from the RcppProgressExample example R package
Source:R/wrap_examples.R
test_multithreaded.Rd
runs the multithreaded test from the RcppProgressExample example R package
Arguments
- max
the number of loops/increments to execute
- nb
a parameter controlling the number of computations executed in each loop, so the time complexity is quadratic in this parameter
- threads
the number of OMP threads to use for the computation. If < 0, runs in sequential mode.
- display_progress
whether to display the progress bar