MATLAB PARALLEL COMPUTING TOOLBOX - S Podręcznik Użytkownika Strona 486

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 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
Przeglądanie stron 485
1 2 ... 481 482 483 484 485 486 487 488 489 490 491 ... 655 656

Komentarze do niniejszej Instrukcji

Brak uwag