| MATLAB Compiler | ![]() |
bool IsSparse() const
Return true if underlying array is sparse.
C++ syntax
#include "mclcppclass.h" mwArray a(2, 2, mxDOUBLE_CLASS); bool b = a.IsSparse(); // Should return false
Arguments
Return value
Boolean indicating if the array is sparse.
Description
Use this method to determine if an array is sparse.
| bool IsEmpty() const | bool IsNumeric() const | ![]() |
© 1994-2005 The MathWorks, Inc.