MATLAB PARALLEL COMPUTING TOOLBOX - S Guida Utente Pagina 102

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 101
4 Interactive Parallel Computation with pmode
4-8
14
If you require distribution along a different dimension, you can use the
redistribute function. In this example, the argument 1 to codistributor1d
specifies distribution of the array along the first dimension (rows).
P>> distobj = codistributor1d(1);
P>> I = redistribute(I, distobj)
P>> getLocalPart(I)
Vedere la pagina 101
1 2 ... 97 98 99 100 101 102 103 104 105 106 107 ... 655 656

Commenti su questo manuale

Nessun commento