Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Get number of threads to use.
The function uses the environment variable STAN_NUM_THREADS and follows these conventions:
std::invalid_argument | if the value of STAN_NUM_THREADS env. variable is invalid |
Definition at line 46 of file init_threadpool_tbb.hpp.