Description Usage Arguments Details Value Examples
This function initializes threads and splits data. Retures an S4 object of class "emcdf_obj" that is ready for parallel computation.
1 |
data |
a numeric matrix stores data. Colunms as variables. |
num |
an integer specifies number of threads to initialize. |
The input data must be a numeric matrix with variables as columns. The choice of "num" is machine dependent. A reasonable number would be the total number of CPU cores - 1. Call coreNum() to get CPU core number.
an S4 object of class "emcdf_obj", holding pointer to an C++ object. When passed to function emcdf(), it computes joint CDF with multi-threads.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.