@Test public void testConditionNumber() { SingularValueDecomposition svd = new SingularValueDecomposition(new DenseMatrix(testSquare)); assertEquals(3.0, svd.cond(), 1.5e-15); }
public double cond() { return s[0] / s[Math.min(m, n) - 1]; }
SingularValueDecomposition implements java.io.Serializable { public double cond() { return s[0] / s[Math.min(m, n) - 1]; } }
SingularValueDecomposition implements java.io.Serializable { public double cond() { return s[0] / s[Math.min(m, n) - 1]; } SingularValueDecomposition(Matrix arg); }
SingularValueDecomposition implements java.io.Serializable { public double cond() { return s[0] / s[Math.min(m, n) - 1]; } SingularValueDecomposition(Matrix arg); double cond(); Matrix getS(); double[] getSingularValues(); Matrix getU(); Matrix getV(); double norm2(); int rank(); @Override String toString(); }
SingularValueDecomposition implements java.io.Serializable { public double cond() { return s[0] / s[Math.min(m, n) - 1]; } SingularValueDecomposition(Matrix arg); double cond(); Matrix getS(); double[] getSingularValues(); Matrix getU(); Matrix getV(); double norm2(); int rank(); @Override String toString();  }