double[][] inv = new double[3][3];
double[] b = new double[]{2.0, 4.0,1.0};
double[] x = new double[3];
Cholesky ch = new Cholesky(aa);
ch.solve(b, x);
System.out.println(NRUtil.toString(x));
ch.elsolve(b, x);
System.out.println(NRUtil.toString(x));
System.out.println(ch.logdet());