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