MATLAB PARALLEL COMPUTING TOOLBOX - S User's Guide Page 486

  • Download
  • Add to my manuals
  • Print
  • Page
    / 656
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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
Page view 485
1 2 ... 481 482 483 484 485 486 487 488 489 490 491 ... 655 656

Comments to this Manuals

No comments