| Modifier and Type | Field and Description |
|---|---|
| public static final char | MATRIX_TYPE_RANDOM_LT
random lower triangular matrix |
| public static final char | MATRIX_TYPE_RANDOM_REGULAR
random regular matrix |
| public static final char | MATRIX_TYPE_RANDOM_UT
random upper triangular matrix |
| public static final char | MATRIX_TYPE_UNIT
unit matrix |
| public static final char | MATRIX_TYPE_ZERO
zero matrix |
| protected int | numColumns
number of columns |
| protected int | numRows
number of rows |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract Matrix | Returns: the inverse of this matrix (newly created).Compute the inverse of this matrix. |
| public abstract byte[] | |
| public int | |
| public int | |
| public abstract boolean | Returns: true if this is the zero matrixCheck if this is the zero matrix (i.e., all entries are zero). |
| public abstract Vector | Returns: vector * this (newly created)a vector vector)Compute the product of a vector and this matrix. |
| public abstract Matrix | Returns: this * a (newly created)the other matrix a)Compute the product of this matrix and another matrix. |
| public abstract Matrix | Returns: this * p (newly created)the permutation p)Compute the product of this matrix and a permutation. |
| public abstract Vector | Returns: this * vector (newly created)a vector vector)Compute the product of this matrix and a vector. |
| public abstract String | Returns: a human readable form of the matrix.Overrides java. Returns a string representation of the object. |
| MATRIX_TYPE_RANDOM_LT | back to summary |
|---|---|
| public static final char MATRIX_TYPE_RANDOM_LT random lower triangular matrix | |
| MATRIX_TYPE_RANDOM_REGULAR | back to summary |
|---|---|
| public static final char MATRIX_TYPE_RANDOM_REGULAR random regular matrix | |
| MATRIX_TYPE_RANDOM_UT | back to summary |
|---|---|
| public static final char MATRIX_TYPE_RANDOM_UT random upper triangular matrix | |
| MATRIX_TYPE_UNIT | back to summary |
|---|---|
| public static final char MATRIX_TYPE_UNIT unit matrix | |
| MATRIX_TYPE_ZERO | back to summary |
|---|---|
| public static final char MATRIX_TYPE_ZERO zero matrix | |
| numColumns | back to summary |
|---|---|
| protected int numColumns number of columns | |
| numRows | back to summary |
|---|---|
| protected int numRows number of rows | |
| Matrix | back to summary |
|---|---|
| public Matrix() | |
| computeInverse | back to summary |
|---|---|
| public abstract Matrix computeInverse() Compute the inverse of this matrix.
| |
| getEncoded | back to summary |
|---|---|
public abstract byte[] getEncoded()
| |
| getNumColumns | back to summary |
|---|---|
public int getNumColumns()
| |
| getNumRows | back to summary |
|---|---|
public int getNumRows()
| |
| isZero | back to summary |
|---|---|
| public abstract boolean isZero() Check if this is the zero matrix (i.e., all entries are zero).
| |
| leftMultiply | back to summary |
|---|---|
| public abstract Vector leftMultiply(Vector vector) Compute the product of a vector and this matrix. If the length of the vector is greater than the number of rows of this matrix, the matrix is multiplied by each m-bit part of the vector. | |
| rightMultiply | back to summary |
|---|---|
| public abstract Matrix rightMultiply(Matrix a) Compute the product of this matrix and another matrix. | |
| rightMultiply | back to summary |
|---|---|
| public abstract Matrix rightMultiply(Permutation p) Compute the product of this matrix and a permutation.
| |
| rightMultiply | back to summary |
|---|---|
| public abstract Vector rightMultiply(Vector vector) Compute the product of this matrix and a vector. | |
| toString | back to summary |
|---|---|
| public abstract String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |