User`s guide

4 Using MWArra y Classes
Exceptions
None
getNaN. This m ethod returns the M ATLAB concept of
NaN,whichstands
for "Not a Number".
The p rototype for the
getNaN method is
public static double getNaN()
Input Parameters
None
Exceptions
None
Using MWLogicalArray
This section cov ers the following topics:
“Constructing an MWLogicalArray” on page 4-92
“Meth od s to Create and Des tro y an M WLogicalArray” on page 4-93
“Methods to Return Information About an MWLogicalArray” on page 4-98
“Methods to Get a nd Set Data in an MWLogicalArray” on page 4-100
“Methods to Copy, C onvert, and Compare MWLogicalArrays” on page 4-104
“Methods to Use on Sparse MWLogicalArrays” o n page 4-107
Constructing an MWLogicalArray
You can construct two types of MWLogicalArray objects an empty logical
scalar or an initialized lo gical scalar or array.
Constructing an Empty L ogic al Scalar. To construct an em pty scalar
logical of type
MWClassID.LOGICAL,use
4-92