Create array of all zeros for GPU or distributed arrays
returns a size1-by-...-by-sizeN matrix
with underlying class of double, zeros in all elements, and the type
specified by Z
= zeros(size1,...,sizeN
,arraytype
)arraytype
.
returns a size1-by-...-by-sizeN matrix
with underlying class of Z
= zeros(size1,...,sizeN
,datatype
,arraytype
)datatype
, zeros in all elements,
and the type specified by arraytype
.
returns a size1-by-...-by-sizeN array
of zeros with the same underlying class and type as the prototype array,
Z
= zeros(size1,...,sizeN
,'like',P
)P
.
returns a size1-by-...-by-sizeN array
with underlying class of Z
= zeros(size1,...,sizeN
,datatype
'like',P
)datatype
, zeros in all elements,
and the same type as the prototype array, P
.
returns an n-by-n codistributed array
with underlying class of double and zeros in all elements. The codistributor
object C
= zeros(n
,codist
)codist
specifies the distribution scheme for
creating the codistributed array. For information on constructing
codistributor objects, see the reference pages for codistributor1d
and
codistributor2dbc
.
returns a size1-by-...-by-sizeN
codistributed array with underlying class of double and zeros in all
elements. The codistributor object C
= zeros(size1,...,sizeN
,codist
)codist
specifies the
distribution scheme for creating the codistributed array. For information on
constructing codistributor objects, see the reference pages for codistributor1d
and
codistributor2dbc
.
returns a codistributed array which size is defined by the size vector
size with underlying class of double and zeros in all
elements. The codistributor object C
= zeros(size
,codist
)codist
specifies the
distribution scheme for creating the codistributed array. For information on
constructing codistributor objects, see the reference pages for codistributor1d
and
codistributor2dbc
.
returns an n-by-n codistributed array
with underlying class of C
= zeros(n
,datatype
,codist
)datatype
and zeros in all
elements. The codistributor object codist
specifies the
distribution scheme for creating the codistributed array. For information on
constructing codistributor objects, see the reference pages for codistributor1d
and
codistributor2dbc
.
returns a size1-by-...-by-sizeN
codistributed array with underlying class of C
= zeros(size1,...,sizeN
,datatype
,codist
)datatype
and
zeros in all elements. The codistributor object codist
specifies the distribution scheme for creating the codistributed array. For
information on constructing codistributor objects, see the reference pages
for codistributor1d
and
codistributor2dbc
.
returns a codistributed array which size is defined by the size vector
size with underlying class of
C
= zeros(size
,datatype
,codist
)datatype
and zeros in all elements. The codistributor
object codist
specifies the distribution scheme for
creating the codistributed array. For information on constructing
codistributor objects, see the reference pages for codistributor1d
and
codistributor2dbc
.
specifies that no interworker communication is to be performed when
constructing a codistributed array, skipping some error checking steps.
C
= zeros(___,codist,'noCommunication')
creates a codistributed array of zeros with the specified size, underlying
class, and distribution scheme. If either the class or codistributor
argument is omitted, the characteristic is acquired from the codistributed
array C
= zeros(___,codist,'like',P)P
.