View source: R/wrap_examples.R
test_amardillo_multithreaded | R Documentation |
runs the multithreaded test from the RcppProgressArmadillo example package
test_amardillo_multithreaded(
max = 100,
nb = 1000,
threads = 0,
display_progress = TRUE
)
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 |
the computed number, or -1 if the computation was aborted
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.