|
JTS Topology Suite version 1.12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vividsolutions.jts.math.Matrix
public class Matrix
Implements some 2D matrix operations (in particular, solving systems of linear equations).
Constructor Summary | |
---|---|
Matrix()
|
Method Summary | |
---|---|
static double[] |
solve(double[][] a,
double[] b)
Solves a system of equations using Gaussian Elimination. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Matrix()
Method Detail |
---|
public static double[] solve(double[][] a, double[] b)
a
- an nxn matrix in row/column order )modified by this method)b
- a vector of length n
java.lang.IllegalArgumentException
- if the matrix is the wrong size
|
JTS Topology Suite version 1.12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |