|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgistoolkit.projection.ellipsoid.transform.Matrix
Class to contain matrix manipulation logic
Constructor Summary | |
Matrix(int tRows,
int tCols,
double[][] T)
Create a new matrix with the given number of rows and columns |
Method Summary | |
Matrix |
addMulRow(int r1,
int r2,
double scalar)
Add a new row to the matrix |
Matrix |
gaussJord()
Perform an elimination on the matrix to solve |
int |
getColNum()
Return the number of columns in the matrix |
int |
getRowNum()
Return the number of rows in the matrix |
double |
getValue(int inRow,
int inColumn)
Return the value at the given indexes |
Matrix |
mulRow(int r1,
double scalar)
|
Matrix |
swapRow(int r1,
int r2)
Swap two rows in the matrix |
java.lang.String |
toString()
String representation of the matrix for debugging purposes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Matrix(int tRows, int tCols, double[][] T)
Method Detail |
public int getRowNum()
public int getColNum()
public double getValue(int inRow, int inColumn)
public Matrix swapRow(int r1, int r2)
public Matrix mulRow(int r1, double scalar)
public Matrix addMulRow(int r1, int r2, double scalar)
public Matrix gaussJord()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |