|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectSciLib.Math.LinearSystem
public final class LinearSystem
This class contains some methods to handle the linear system problems
| Constructor Summary | |
|---|---|
LinearSystem()
|
|
| Method Summary | |
|---|---|
static void |
Gauss(double[][] A,
int[] l)
Perform Gaussian elimination with scaled partial pivoting |
static void |
Gauss(matrix A,
integerVector l)
Perform Gaussian elimination with scaled partial pivoting |
static void |
Solve(double[][] A,
double[] b,
double[] x,
int[] l)
Solve linear system Ax = b |
static vector |
Solve(matrix A,
vector b,
integerVector l)
Solve linear system Ax = b |
static void |
SolveLinEq(double[][] A,
double[] b,
double[] x)
Solve linear system Ax = b |
static vector |
SolveLinEq(matrix A,
vector b)
Solve linear system Ax = b |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinearSystem()
| Method Detail |
|---|
public static void Gauss(double[][] A,
int[] l)
A - A two-dimensional array that contains the matrix coeeficientl - An integer array that stores the result index
public static void Solve(double[][] A,
double[] b,
double[] x,
int[] l)
A - A two-dimensional array that stores the result after performing Gaussian eliminationl - An integer array that stores the result indexb - An arrayx - An array that stores the solution of the system
public static void SolveLinEq(double[][] A,
double[] b,
double[] x)
A - A two-dimensional array that stores the result after performing Gaussian eliminationb - An arrayx - An array that stores the solution of the system
public static void Gauss(matrix A,
integerVector l)
throws SizeException
A - The matrix coeeficientl - A vector that stores the result index
SizeException
public static vector Solve(matrix A,
vector b,
integerVector l)
throws SizeException
A - The matrix coeeficientl - A vector that stores the result indexb - A vector
SizeException
public static vector SolveLinEq(matrix A,
vector b)
A - The matrix coeeficientb - A vector
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||