You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Axel Kramer (JIRA)" <ji...@apache.org> on 2010/01/05 23:41:54 UTC

[jira] Issue Comment Edited: (MATH-327) Maximal number of iterations (540) exceeded

    [ https://issues.apache.org/jira/browse/MATH-327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796884#action_12796884 ] 

Axel Kramer edited comment on MATH-327 at 1/5/10 10:41 PM:
-----------------------------------------------------------

Maybe that Math-320 isn't completely solved.
For the getU() method from the latest SVN sources I'm getting NaN values:

{code:java}
    @Test
    public void testMath327() {
      double[][] arr = {
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000,
              1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000,
              0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142,
              0.95238096, 1.00000000, 0.93333334, 0.96428573 },
          { 1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000,
              1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000,
              0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142,
              0.95238096, 1.00000000, 0.93333334, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000,
              1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000,
              0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142,
              0.95238096, 1.00000000, 0.93333334, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000,
              1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000,
              0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142,
              0.95238096, 1.00000000, 0.93333334, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000,
              1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000,
              0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142,
              0.95238096, 1.00000000, 0.93333334, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000,
              1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000,
              0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142,
              0.95238096, 1.00000000, 0.93333334, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000,
              1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000,
              0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142,
              0.95238096, 1.00000000, 0.93333334, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000,
              1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000,
              0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142,
              0.95238096, 1.00000000, 0.93333334, 0.96428573 },
          { 1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000,
              1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000,
              0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142,
              0.95238096, 1.00000000, 0.93333334, 0.96428573 } };

      RealMatrix rcp = new Array2DRowRealMatrix(arr);
      SingularValueDecomposition svd = new SingularValueDecompositionImpl(rcp);

      System.out.println(svd.getU());
      System.out.println(svd.getS());
      System.out.println(svd.getVT());
      
//      System.out.println(svd.getU().multiply(svd.getS()).multiply(svd.getVT()));
      double[] singularValues = svd.getSingularValues();
      System.err.println();
    }
{code}

      was (Author: axelclk):
    Seems that Math-320 isn't completly solved.
For the getU() method I'm getting NaN values:

{code:java}
    @Test
    public void testMath327() {
      double[][] arr = {
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000,
              1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000,
              0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142,
              0.95238096, 1.00000000, 0.93333334, 0.96428573 },
          { 1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000,
              1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000,
              0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142,
              0.95238096, 1.00000000, 0.93333334, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000,
              1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000,
              0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142,
              0.95238096, 1.00000000, 0.93333334, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000,
              1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000,
              0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142,
              0.95238096, 1.00000000, 0.93333334, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000,
              1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000,
              0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142,
              0.95238096, 1.00000000, 0.93333334, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000,
              1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000,
              0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142,
              0.95238096, 1.00000000, 0.93333334, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000,
              1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000,
              0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142,
              0.95238096, 1.00000000, 0.93333334, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000,
              1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143,
              0.95238096, 1.00000000, 1.00000000, 0.96428573 },
          { 1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000,
              1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000,
              0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142,
              0.95238096, 1.00000000, 0.93333334, 0.96428573 },
          { 1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000,
              1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000,
              0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142,
              0.95238096, 1.00000000, 0.93333334, 0.96428573 } };

      RealMatrix rcp = new Array2DRowRealMatrix(arr);
      SingularValueDecomposition svd = new SingularValueDecompositionImpl(rcp);

      System.out.println(svd.getU());
      System.out.println(svd.getS());
      System.out.println(svd.getVT());
      
//      System.out.println(svd.getU().multiply(svd.getS()).multiply(svd.getVT()));
      double[] singularValues = svd.getSingularValues();
      System.err.println();
    }
{code}
  
>  Maximal number of iterations (540) exceeded
> --------------------------------------------
>
>                 Key: MATH-327
>                 URL: https://issues.apache.org/jira/browse/MATH-327
>             Project: Commons Math
>          Issue Type: Bug
>         Environment: Windows 7 (32-bit)  JDK 1.6_16
>            Reporter: Mansoor Ahmed Khan
>            Priority: Critical
>
> I have a matrix of size 49x19 and when I apply SVD on this matrix it raises the following exception. The problem which I am facing is that SVD works for some matrix and doesn't work for others. I have no clue what is the possible reason.
> Exception::
> CorrespondenceAnalysis: org.apache.commons.math.MaxIterationsExceededException: Maximal number of iterations (540) exceeded 
> [org.apache.commons.math.linear.EigenDecompositionImpl.processGeneralBlock(EigenDecompositionImpl.java:881), org.apache.commons.math.linear.EigenDecompositionImpl.findEigenvalues(EigenDecompositionImpl.java:651), org.apache.commons.math.linear.EigenDecompositionImpl.decompose(EigenDecompositionImpl.java:243), org.apache.commons.math.linear.EigenDecompositionImpl.<init>(EigenDecompositionImpl.java:202), org.apache.commons.math.linear.SingularValueDecompositionImpl.<init>(SingularValueDecompositionImpl.java:114),
> RealMatrix m = [[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000, 1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000, 0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142, 0.95238096, 1.00000000, 0.93333334, 0.96428573],[1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000, 1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000, 0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142, 0.95238096, 1.00000000, 0.93333334, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000, 1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000, 0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142, 0.95238096, 1.00000000, 0.93333334, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000, 1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000, 0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142, 0.95238096, 1.00000000, 0.93333334, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000, 1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000, 0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142, 0.95238096, 1.00000000, 0.93333334, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000, 1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000, 0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142, 0.95238096, 1.00000000, 0.93333334, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000, 1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000, 0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142, 0.95238096, 1.00000000, 0.93333334, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.99107143, 1.00000000, 1.00000000, 1.00000000, 1.00000000, 0.94450431, 1.00000000, 1.00000000, 0.99107143, 0.95238096, 1.00000000, 1.00000000, 0.96428573],[1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000, 1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000, 0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142, 0.95238096, 1.00000000, 0.93333334, 0.96428573],[1.00000000, 1.00000000, 0.94999999, 0.95833331, 1.00000000, 1.00000000, 0.99107143, 0.94583333, 1.00000000, 0.95000000, 0.98333333, 0.92106681, 0.97368419, 1.00000000, 0.95357142, 0.95238096, 1.00000000, 0.93333334, 0.96428573]]
> RealMatrix rcp = MatrixUtils.createRealMatrix(CP);	
> SingularValueDecomposition svd = new SingularValueDecompositionImpl(rcp);		
> RealMatrix U = svd.getU();
> RealMatrix S = svd.getS();
> RealMatrix Vt = svd.getVT();
> double[] singularValues = svd.getSingularValues();

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.