square_root <- function(vec, parallel = FALSE) {
n_cores <- translate_parallel(parallel)
RcppParallel::setThreadOptions(n_cores)
on.exit(RcppParallel::setThreadOptions(RcppParallel::defaultNumThreads()))
square_root_(vec)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.