MATLAB PARALLEL COMPUTING TOOLBOX - S Guide de l'utilisateur Page 369

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 656
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 368
codistributed
11-25
Examples
Create a 1000-by-1000 codistributed array C1 using the default distribution scheme.
spmd
N = 1000;
X = magic(N); % Replicated on every worker
C1 = codistributed(X); % Partitioned among the workers
end
Create a 1000-by-1000 codistributed array C2, distributed by rows (over its first
dimension).
spmd
N = 1000;
X = magic(N);
C2 = codistributed(X,codistributor1d(1));
end
See Also
distributed | codistributor1d | codistributor2dbc | gather |
globalIndices | getLocalPart | redistribute | size | subsasgn | subsref
Vue de la page 368
1 2 ... 364 365 366 367 368 369 370 371 372 373 374 ... 655 656

Commentaires sur ces manuels

Pas de commentaire