SingularValueDecomposition { public double getInverseConditionNumber() { return singularValues[n - 1] / singularValues[0]; } SingularValueDecomposition(final RealMatrix matrix); RealMatrix getU(); RealMatrix getUT(); RealMatrix getS(); double[] getSingularValues(); RealMatrix getV(); RealMatrix getVT(); RealMatrix getCovariance(final double minSingularValue); double getNorm(); double getConditionNumber(); double getInverseConditionNumber(); int getRank(); DecompositionSolver getSolver();  }
@Test public void testInverseConditionNumber() { SingularValueDecomposition svd = new SingularValueDecomposition(MatrixUtils.createRealMatrix(testSquare)); Assert.assertEquals(1.0/3.0, svd.getInverseConditionNumber(), 1.5e-15); }