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

  • 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 447
11 Functions — Alphabetical List
11-104
gcat
Global concatenation
Syntax
Xs = gcat(X)
Xs = gcat(X, dim)
Xs = gcat(X, dim, targetlab)
Description
Xs = gcat(X) concatenates the variant array X from each worker in the second
dimension. The result is replicated on all workers.
Xs = gcat(X, dim) concatenates the variant array X from each worker in the
dimension indicated by dim.
Xs = gcat(X, dim, targetlab) performs the reduction, and places the result into
res only on the worker indicated by targetlab. res is set to [] on all other workers.
Examples
With four workers,
Xs = gcat(labindex)
returns Xs = [1 2 3 4] on all four workers.
See Also
cat | gop | labindex | numlabs
Zobrazit stránku 447
1 2 ... 443 444 445 446 447 448 449 450 451 452 453 ... 655 656

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

Žádné komentáře