True for codistributed array
tf = iscodistributed(X)
tf = iscodistributed(X)
returns true
for
a codistributed array, or false
otherwise. For
a description of codistributed arrays, see Nondistributed Versus Distributed Arrays.
With a running parallel pool,
spmd L = ones(100,1); D = ones(100,1,'codistributed'); iscodistributed(L) % returns false iscodistributed(D) % returns true end