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

  • 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 411
11 Functions — Alphabetical List
11-68
D1 = distributed(magic(Nsmall));
Create a large distributed array directly, using a build method:
Nlarge = 1000;
D2 = rand(Nlarge,'distributed');
Retrieve elements of a distributed array, and note where the arrays are located by their
Class:
D3 = gather(D2);
whos
Name Size Bytes Class
D1 50x50 733 distributed
D2 1000x1000 733 distributed
D3 1000x1000 8000000 double
Nlarge 1x1 8 double
Nsmall 1x1 8 double
See Also
codistributed | gather | parpool
Vue de la page 411
1 2 ... 407 408 409 410 411 412 413 414 415 416 417 ... 655 656

Commentaires sur ces manuels

Pas de commentaire