public final class MWComplexity
extends java.lang.Object
implements java.io.Serializable
MWComplexity class enumerates the MATLAB real/complex array property.
This class contains no public constructors. A set of public static MWComplexity
instances are provided, one for each of real and complex.
double AReal = 24;
double AImag = 5;
MWNumericArray A = new MWNumericArray(AReal, AImag);
System.out.println("A is a " + A.complexity() + " matrix");
When run, the example displays this output:
A is a complex matrix
| Modifier and Type | Field and Description |
|---|---|
static MWComplexity |
COMPLEX
Array type: complex
|
static MWComplexity |
REAL
Array type: real
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString()
Returns a string representation of the property.
|
public static final MWComplexity REAL
public static final MWComplexity COMPLEX
© 1994-2008 The MathWorks, Inc. Terms of Use Patents Trademarks