makeWorker {distcomp} | R Documentation |
Make a worker object given a definition and data
Description
The function makeWorker
returns an object of the
appropriate type based on a computation definition and sets the
data for the object. The types of objects that can be created
depend upon the available computations
Usage
makeWorker(defn, data, pubkey_bits = NULL, pubkey_n = NULL, den_bits = NULL)
Arguments
defn |
the computation definition |
data |
the data for the computation |
pubkey_bits |
the number of bits for the public key (used only
if |
pubkey_n |
the |
den_bits |
the number of bits for the denominator (used only
if |
Value
a worker object of the appropriate class based on the definition
See Also
[Package distcomp version 1.3-3 Index]