isdistributed - True for distributed array

Syntax

tf = isdistributed(X)

Description

tf = isdistributed(X) returns true for a distributed array, or false otherwise. For a description of a distributed array, see Array Types.

Examples

L = ones(100, 1)
D = ones(100, 1, distributor())
isdistributed(L) % returns false
isdistributed(D) % returns true

See Also

distributor, distributed, zeros

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS