R/RcppExports.R
multiply_by_two.Rd
Computes the multiplication of 2 by passing the data into a C routine that is parallelized
multiply_by_two(x, n)
A vector of numeric values to multiple.
vector
The number of cores to use.
# Data x = 1:5 # Number of Cores to use in Parallelization ncores = 2 # Call the routine multiply_by_two(x, n = ncores)