True for replicated array
tf = isreplicated(X)
tf = isreplicated(X)
returns true
for
a replicated array, or false
otherwise. For a description
of a replicated array, see Nondistributed Versus Distributed Arrays. isreplicated
also
returns true for a Composite X
if all its elements
are identical.
With an open parallel pool,
spmd A = magic(3); t = isreplicated(A) % returns t = true B = magic(labindex); f = isreplicated(B) % returns f = false end