public class ConcreteMatrixToken extends MatrixToken
Constants| Yellow (wbwu) |
| Yellow (yuhong) |
_nils, DO_COPY, DO_NOT_COPY| Constructor and Description |
|---|
ConcreteMatrixToken() |
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnCount()
Return the number of columns of the contained matrix.
|
Token |
getElementAsToken(int row,
int column)
Throw an ArrayIndexOutOfBoundsException.
|
Type |
getElementType()
Return the Type of the tokens contained in this matrix token.
|
int |
getRowCount()
Return the number of rows of the contained matrix.
|
Type |
getType()
Return the type of this token.
|
_add, _addElement, _divideElement, _elementIsNil, _isCloseTo, _isEqualTo, _moduloElement, _multiply, _multiplyElement, _subtract, _subtractElement, _subtractElementReverse, add, addReverse, arrayToMatrix, arrayToMatrix, arrayToMatrixReturnType, booleanMatrix, complexMatrix, create, createSequence, createSequenceReturnType, createTokenSequence, crop, determineSequenceLength, divide, divideReverse, doubleMatrix, fixMatrix, intMatrix, isCloseTo, isEqualTo, join, longMatrix, matrixToArray, matrixToArrayReturnType, modulo, moduloReverse, multiply, multiplyReverse, oneRight, split, subtract, subtractReverse, toArray, toArrayColumnMajor, toArrayReturnType, toStringisCloseTo, isNil, notSupportedConversionMessage, notSupportedIncomparableConversionMessage, notSupportedIncomparableMessage, notSupportedMessage, notSupportedNullNilStringMessage, one, pow, zero, zeroReturnTypepublic int getColumnCount()
getColumnCount in class MatrixTokenpublic Token getElementAsToken(int row, int column) throws java.lang.ArrayIndexOutOfBoundsException
getElementAsToken in class MatrixTokenrow - The row index of the desired element.column - The column index of the desired element.java.lang.ArrayIndexOutOfBoundsException - Always thrown.public Type getElementType()
getElementType in class MatrixTokenpublic int getRowCount()
getRowCount in class MatrixToken