inst/examples/RcppProgressExample/R/examples.R

test_sequential <- function(max=100, nb=1000, display_progress=TRUE) {
	.Call("test_sequential_wrapper", max, nb, display_progress, PACKAGE = "RcppProgressExample")
}

test_multithreaded <- function(max=100, nb=1000, threads=0, display_progress=TRUE) {
	.Call("test_multithreaded_wrapper", max, nb, threads, display_progress, PACKAGE = "RcppProgressExample")
}
kforner/rcpp_progress documentation built on June 9, 2024, 3:15 a.m.