Create array of Not-a-Numbers for GPU or distributed arrays
returns a size1-by-...-by-sizeN matrix
with underlying class of double, NaN values in all elements, and the type
specified by A
= NaN(size1,...,sizeN
,arraytype
)arraytype
.
returns a size1-by-...-by-sizeN matrix
with underlying class of A
= NaN(size1,...,sizeN
,datatype
,arraytype
)datatype
, NaN values in all
elements, and the type specified by arraytype
.
returns a size1-by-...-by-sizeN array
of NaN values with the same underlying class and type as the prototype
array, A
= NaN(size1,...,sizeN
,'like',P
)P
.
returns a size1-by-...-by-sizeN array
with underlying class of A
= NaN(size1,...,sizeN
,datatype
'like',P
)datatype
, NaN values 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 NaN values in all elements. The
codistributor object C
= NaN(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 NaN values in all
elements. The codistributor object C
= NaN(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 NaN values
in all elements. The codistributor object C
= NaN(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
= NaN(n
,datatype
,codist
)datatype
and NaN values 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
= NaN(size1,...,sizeN
,datatype
,codist
)datatype
and
NaN values 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
= NaN(size
,datatype
,codist
)datatype
and NaN values 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
= NaN(___,codist,'noCommunication')
creates a codistributed array of NaN values 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
= NaN(___,codist,'like',P)P
.