public class Matrix
extends java.lang.Object
Constructor | Description |
---|---|
Matrix() |
Modifier and Type | Method | Description |
---|---|---|
static double[] |
solve(double[][] a,
double[] b) |
Solves a system of equations using Gaussian Elimination.
|
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 njava.lang.IllegalArgumentException
- if the matrix is the wrong sizeCopyright © 2018. All rights reserved.