omp: Support for parallel computation

Description Usage Arguments Details Value Note Author(s)

Description

The functions can be used

Usage

1
2
3
4
5

Arguments

nthreads

number of OpenMP threads to be used.

seed

number between 0 and 1 used to set the seeds of the random number generators in each threads.

Details

Each openMP thread (or the single thread used on systems where openMP is not supported) uses a separate sitmo random number generator. See sitmo-package.

Value

Function hasOMP returns TRUE/FALSE if the system supports/does not support openMP.

Functions setOMPThreads and setSITMOSeeds do not return any value.

Note

When the package is loaded, the following code is automatically executed

Author(s)

Giovanna Capizzi and Guido Masarotto


CautiousLearning documentation built on July 18, 2019, 5:04 p.m.