| Parallel Computing Toolbox™ | ![]() |
F = false(n, dist)
F = false(m, n, dist)
F =
false([m, n], dist)
F = false(n, dist) creates an n-by-n distributed array of underlying class logical. F is distributed by dimension dim, where dim = distributionDimension(dist), and with partition PAR, where PAR = distributionPartition(dist). If dim is unspecified, then F is distributed by its second dimension. If PAR is unspecified, then F uses defaultPartition(n) as its partition. The easiest way to do this is to use a default distributor where both dim and PAR are unspecified (dist = distributor()) as input to false.
F = false(m, n, dist) and F = false([m, n], dist) create an m-by-n distributed array of underlying class logical. The distribution dimension dim and partition PAR can be specified by dist as above, but if they are not specified, dim is taken to be the last nonsingleton dimension of F, and PAR is provided by defaultPartition over the size in that dimension.
With four labs,
F = false(1000, distributor())
creates a 1000-by-1000 distributed double array F, distributed by its second dimension (columns). Each lab contains a 1000-by-250 local piece of F.
F = false(10, 10, distributor('1d', 2, 1:numlabs))creates a 10-by-10 distributed logical array F, distributed by its columns. Each lab contains a 10-by-labindex local piece of F.
false MATLAB® function reference page
cell, eye, Inf, NaN, ones, rand, randn, sparse, speye, sprand, sprandn, true, zeros
![]() | eye | findJob | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |