public class BasicMatrix extends Object implements MutableMatrix, Serializable
| Constructor and Description |
|---|
BasicMatrix(double[][] data)
Creates a new instance of BasicMatrix
|
BasicMatrix(int nRows,
int nCols) |
BasicMatrix(Matrix mIn) |
| Modifier and Type | Method and Description |
|---|---|
double |
det() |
double |
e(int row,
int column)
Returns the value of the given element
|
int |
getNColumns()
Returns the number of columns
|
int |
getNRows()
Returns the number of rows
|
void |
invert()
Invert this matrix (into itself)
|
void |
setElement(int row,
int column,
double value)
Set the given element of the matrix
|
String |
toString() |
void |
transpose()
Tranpose this matrix (into itself)
|
public BasicMatrix(int nRows,
int nCols)
public BasicMatrix(double[][] data)
public BasicMatrix(Matrix mIn)
public int getNRows()
Matrixpublic int getNColumns()
MatrixgetNColumns in interface Matrixpublic double e(int row,
int column)
Matrixpublic double det()
public void setElement(int row,
int column,
double value)
MutableMatrixsetElement in interface MutableMatrixpublic void invert()
throws MatrixOp.IndeterminateMatrixException
MutableMatrixinvert in interface MutableMatrixMatrixOp.IndeterminateMatrixExceptionMatrixOp.inverse(Matrix,MutableMatrix)public void transpose()
MutableMatrixtranspose in interface MutableMatrixMatrixOp.transposed(Matrix,MutableMatrix)Jas4pp 1.5 © Java Analysis Studio for Particle Physics