public class BasicMatrix extends Object implements MutableMatrix, Serializable
Constructor and Description |
---|
BasicMatrix(double[][] data)
Creates a new instance of BasicMatrix
|
BasicMatrix(double e11,
double e12,
double e13,
double e21,
double e22,
double e23,
double e31,
double e32,
double e33) |
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 e11, double e12, double e13, double e21, double e22, double e23, double e31, double e32, double e33)
public BasicMatrix(double[][] data)
public BasicMatrix(Matrix mIn)
public int getNRows()
Matrix
public int getNColumns()
Matrix
getNColumns
in interface Matrix
public double e(int row, int column)
Matrix
public double det()
public void setElement(int row, int column, double value)
MutableMatrix
setElement
in interface MutableMatrix
public void invert() throws MatrixOp.IndeterminateMatrixException
MutableMatrix
invert
in interface MutableMatrix
MatrixOp.IndeterminateMatrixException
MatrixOp.inverse(Matrix,MutableMatrix)
public void transpose()
MutableMatrix
transpose
in interface MutableMatrix
MatrixOp.transposed(Matrix,MutableMatrix)
Jas4pp 1.5 © Java Analysis Studio for Particle Physics