return Xmat;
}
public double[] Solve(double[] value) {
if (value == null) {
throw new MatrixError("value");
}
if (value.length != this.LU.length) {
throw new MatrixError("Invalid matrix dimensions.");
}
if (!this.isNonsingular()) {
throw new MatrixError("Matrix is singular");
}
// Copy right hand side with pivoting
int count = value.length;
double[] b = new double[count];