MATLAB PARALLEL COMPUTING TOOLBOX - S Betriebsanweisung Seite 472

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 656
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 471
11 Functions — Alphabetical List
11-128
gplus
Global addition
Syntax
S = gplus(X)
S = gplus(X, targetlab)
Description
S = gplus(X) returns the addition of the variant array X from each worker. The result
S is replicated on all workers.
S = gplus(X, targetlab) performs the addition, and places the result into S only on
the worker indicated by targetlab. S is set to [] on all other workers.
Examples
With four workers,
S = gplus(labindex)
returns S = 1 + 2 + 3 + 4 = 10 on all four workers.
See Also
gop | labindex
Seitenansicht 471
1 2 ... 467 468 469 470 471 472 473 474 475 476 477 ... 655 656

Kommentare zu diesen Handbüchern

Keine Kommentare