edu.pdx.cs399J.rmi
Class GaussianElimination
java.lang.Object
edu.pdx.cs399J.rmi.GaussianElimination
public class GaussianElimination
- extends Object
This class performs Gaussian Elimination to solve a system of
linear equations of the form Ax = b.
|
Method Summary |
static double[] |
solve(double[][] a,
double[] b)
Solve a system Ax = b using Gaussian elimination |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GaussianElimination
public GaussianElimination()
solve
public static double[] solve(double[][] a,
double[] b)
- Solve a system
Ax = b using Gaussian elimination
- Throws:
IllegalArgumentException - A is not an n x n matrix,
b does not have length n
Copyright © 2000-2009 Portland State University. All Rights Reserved.