Learn R Programming

RcppArmadillo (version 14.2.2-1)

armadillo_get_number_of_omp_threads: Report (or Set) Maximum Number of OpenMP Threads

Description

Report (or Set) Maximum Number of OpenMP Threads

Usage

armadillo_get_number_of_omp_threads()

armadillo_set_number_of_omp_threads(n)

Value

For the getter, and on a system with OpenMP, the maximum number of threads that OpenMP may be using and on systems without it, one. The setter does not return a value.

Arguments

n

Number of threads to be set