Skip to contents

This function sets the number of threads for parallel computations involved in the package.

Usage

set_thread_num(num)

Arguments

num

the number of threads. If it is greater than the maximum number of threads available, the number of threads will be set to the maximum value.

Value

No return value.

Details

See further examples and tutorials at https://mingdeyu.github.io/dgpsi-R/.