Differences

This shows you the differences between two versions of the page.

Link to this comparison view

reference:peercellfun [2018/08/23 14:43]
reference:peercellfun [2018/08/23 14:43] (current)
Line 1: Line 1:
 +=====  PEERCELLFUN =====
 +
 +Note that this reference documentation is identical to the help that is displayed in MATLAB when you type "help peercellfun"​.
 +
 +<​html><​pre>​
 +  <a href=/​reference/​peercellfun><​font color=green>​PEERCELLFUN</​font></​a>​ applies a function to each element of a cell-array. The
 +  function execution is done in parallel on all avaialble peers.
 + 
 +  Use as
 +    argout = peercellfun(fname,​ x1, x2, ...)
 + 
 +  This function has a number of optional arguments that have to passed
 +  as key-value pairs at the end of the list of input arguments. All other
 +  input arguments (including other key-value pairs) will be passed to the
 +  function to be evaluated.
 +    UniformOutput ​ = boolean (default = false)
 +    StopOnError ​   = boolean (default = true)
 +    RetryOnError ​  = number, number of retries for failed jobs expressed as ratio (default = 0.05)
 +    MaxBusy ​       = number, amount of slaves allowed to be busy (default = inf)
 +    diary          = string, can be '​always',​ '​never',​ '​warning',​ '​error'​ (default = '​error'​)
 +    timreq ​        = number, initial estimate for the time required to run a single job (default = 3600)
 +    mintimreq ​     = number, minimum time required to run a single job (default is automatic)
 +    memreq ​        = number, initial estimate for the memory required to run a single job (default = 2*1024^3)
 +    minmemreq ​     = number, minimum memory required to run a single job (default is automatic)
 +    order          = string, can be '​random'​ or '​original'​ (default = '​random'​)
 + 
 +  Example
 +    fname = '​power';​
 +    x1    = {1, 2, 3, 4, 5};
 +    x2    = {2, 2, 2, 2, 2};
 +    y     = peercellfun(fname,​ x1, x2);
 + 
 +  See also <a href=/​reference/​peermaster><​font color=green>​PEERMASTER</​font></​a>,​ <a href=/​reference/​peerslave><​font color=green>​PEERSLAVE</​font></​a>,​ <a href=/​reference/​peerlist><​font color=green>​PEERLIST</​font></​a>,​ <a href=/​reference/​peerinfo><​font color=green>​PEERINFO</​font></​a>,​ <a href=/​reference/​peerfeval><​font color=green>​PEERFEVAL</​font></​a>,​ CELLFUN, DFEVAL
 +</​pre></​html>​