}
if (info.val > 0) {
throw new EvalException("Lapack routine dgesv: system is exactly singular");
}
anorm = lapack.dlange("1", n, n, A.toDoubleArray(), n, null);
double[] arrWork = new double[4 * n];
lapack.dgecon("1", n, avals, n, anorm, rcond, arrWork, ipiv, info);
if (rcond.val < tolerance) {