MATLAB PARALLEL COMPUTING TOOLBOX - S Podręcznik Użytkownika Strona 102

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 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)
Przeglądanie stron 101
1 2 ... 97 98 99 100 101 102 103 104 105 106 107 ... 655 656

Komentarze do niniejszej Instrukcji

Brak uwag