MATLAB PARALLEL COMPUTING TOOLBOX - S Uživatelská příručka Strana 102

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 656
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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)
Zobrazit stránku 101
1 2 ... 97 98 99 100 101 102 103 104 105 106 107 ... 655 656

Komentáře k této Příručce

Žádné komentáře