netarrayfun (parallel_doc)

Next: install_vars, Previous: netcellfun, Up: Cluster execution [Index]

### 3.9 Function netarrayfun

Function File: netarrayfun (connections, fun, …)

  Evaluates function fun in a parallel cluster and collects results.

  This function handles arguments and options equivalently to `pararrayfun` and returnes equivalent output. Differently, the first argument specifies server machines for parallel remote execution, see `pconnect` for a description of the connections variable. A further difference is that the option "ChunksPerProc" is ignored and instead the chunk size can be specified directly with an option "ChunkSize" (option "Vectorized" can be used together with option "ChunkSize" in function `netarrayfun`).

  The further details of operation are the same as for `netcellfun`, please see there.

  See also: netcellfun, pconnect, pserver, sclose, rfeval, install_vars.