T - an array of 2 or more dimensions which holds doublespublic static final class MatlabNumericArray.DoubleArrayType<T> extends Object
doubles. Instances for dimensions 2 through 9 are
available as public static fields.
| Modifier and Type | Field and Description |
|---|---|
static MatlabNumericArray.DoubleArrayType<double[][]> |
DIM_2
Representation of
double[][] class. |
static MatlabNumericArray.DoubleArrayType<double[][][]> |
DIM_3
Representation of
double[][][] class. |
static MatlabNumericArray.DoubleArrayType<double[][][][]> |
DIM_4
Representation of
double[][][][] class. |
static MatlabNumericArray.DoubleArrayType<double[][][][][]> |
DIM_5
Representation of
double[][][][][] class. |
static MatlabNumericArray.DoubleArrayType<double[][][][][][]> |
DIM_6
Representation of
double[][][][][][] class. |
static MatlabNumericArray.DoubleArrayType<double[][][][][][][]> |
DIM_7
Representation of
double[][][][][][][] class. |
static MatlabNumericArray.DoubleArrayType<double[][][][][][][][]> |
DIM_8
Representation of
double[][][][][][][][] class. |
static MatlabNumericArray.DoubleArrayType<double[][][][][][][][][]> |
DIM_9
Representation of
double[][][][][][][][][] class. |
| Modifier and Type | Method and Description |
|---|---|
Class<T> |
getArrayClass()
The type of array.
|
int |
getDimensions()
The number of dimensions of the array type.
|
static <T> MatlabNumericArray.DoubleArrayType<T> |
getInstance(Class<T> arrayType)
Gets an instance of
DoubleArrayType<T> where T is the type of arrayType. |
String |
toString()
Returns a brief description of this double array type.
|
public static final MatlabNumericArray.DoubleArrayType<double[][]> DIM_2
double[][] class.public static final MatlabNumericArray.DoubleArrayType<double[][][]> DIM_3
double[][][] class.public static final MatlabNumericArray.DoubleArrayType<double[][][][]> DIM_4
double[][][][] class.public static final MatlabNumericArray.DoubleArrayType<double[][][][][]> DIM_5
double[][][][][] class.public static final MatlabNumericArray.DoubleArrayType<double[][][][][][]> DIM_6
double[][][][][][] class.public static final MatlabNumericArray.DoubleArrayType<double[][][][][][][]> DIM_7
double[][][][][][][] class.public static final MatlabNumericArray.DoubleArrayType<double[][][][][][][][]> DIM_8
double[][][][][][][][] class.public static final MatlabNumericArray.DoubleArrayType<double[][][][][][][][][]> DIM_9
double[][][][][][][][][] class.public static <T> MatlabNumericArray.DoubleArrayType<T> getInstance(Class<T> arrayType)
DoubleArrayType<T> where T is the type of arrayType. T
must be an array of 1 or more dimensions that holds doubles. This is intended for getting array types
in excess of 9 dimensions, as dimensions 2 through 9 are represented by constants DIM_2 ... DIM_9.
DoubleArrayType<double[][][]> type3D = DoubleArrayType.getInstance(double[][][].class);T - arrayType - IllegalArgumentException - if the type is not an array holding doubles or the type is of less
than 2 dimensionspublic int getDimensions()
public Class<T> getArrayClass()
doubles, and may be of any dimension 2 or greater.