MATLAB PARALLEL COMPUTING TOOLBOX - S Betriebsanweisung Seite 412

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 656
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 411
1 2 ... 407 408 409 410 411 412 413 414 415 416 417 ... 655 656

Kommentare zu diesen Handbüchern

Keine Kommentare