public class Matrix extends Object
Constructor and Description |
---|
Matrix() |
Modifier and Type | Method and 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 nIllegalArgumentException
- if the matrix is the wrong sizeCopyright © 2022. All rights reserved.