Package edu.pdx.cs410J.rmi
Class GaussianElimination
java.lang.Object
edu.pdx.cs410J.rmi.GaussianElimination
This class performs Gaussian Elimination to solve a system of
linear equations of the form
Ax = b
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic double[]
solve
(double[][] a, double[] b) Solve a systemAx = b
using Gaussian elimination
-
Constructor Details
-
GaussianElimination
public GaussianElimination()
-
-
Method Details
-
solve
Solve a systemAx = b
using Gaussian elimination- Throws:
IllegalArgumentException
-A
is not ann x n
matrix,b
does not have lengthn
-