User`s guide

bool IsComplex() const
Purpose 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 None
Return
Value
Boolean indicating if the array is complex.
Description Use this method to determine if an array is complex.
C-61