public class RationalMatrix extends Object
FieldMatrix
and PerisicField
.
This class mainly exists to encapsulate computation of the determinant.Constructor and Description |
---|
RationalMatrix(FieldMatrix<PerisicFieldElement> delegate)
Wraps a delegate.
|
RationalMatrix(int[][] data)
Initialize a matrix from integers.
|
RationalMatrix(List<List<PerisicFieldElement>> data)
Initialize a matrix from lists of lists of
PerisicFieldElement . |
Modifier and Type | Method and Description |
---|---|
PerisicFieldElement |
determinantFromColumns(int[] columns)
Computes the determinant on the sub-matrix formed by the specified columns
|
FieldMatrix<PerisicFieldElement> |
getDelegate()
Access the underlying
FieldMatrix |
int |
height()
The height or number of rows of the matrix.
|
String |
toString() |
int |
width()
The width or number of columns of the matrix.
|
public RationalMatrix(int[][] data)
public RationalMatrix(FieldMatrix<PerisicFieldElement> delegate)
public RationalMatrix(List<List<PerisicFieldElement>> data)
PerisicFieldElement
.public int height()
public int width()
public PerisicFieldElement determinantFromColumns(int[] columns)
columns
- A list of height()
column numberspublic FieldMatrix<PerisicFieldElement> getDelegate()
FieldMatrix