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

  • 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 485
11 Functions — Alphabetical List
11-142
iscodistributed
True for codistributed array
Syntax
tf = iscodistributed(X)
Description
tf = iscodistributed(X) returns true for a codistributed array, or false
otherwise. For a description of codistributed arrays, see “Nondistributed Versus
Distributed Arrays” on page 5-2.
Examples
With a running parallel pool,
spmd
L = ones(100,1);
D = ones(100,1,'codistributed');
iscodistributed(L) % returns false
iscodistributed(D) % returns true
end
See Also
isdistributed
Zobrazit stránku 485
1 2 ... 481 482 483 484 485 486 487 488 489 490 491 ... 655 656

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

Žádné komentáře