JAL-2738 copy to spikes/mungo
[jalview.git] / src / jalview / math / Matrix.java
index b39d3c9..8910c67 100755 (executable)
@@ -63,7 +63,7 @@ public class Matrix implements MatrixI
   {
 
   }
-  
+
   /**
    * Creates a new Matrix object containing a copy of the supplied array values.
    * For example
@@ -482,8 +482,8 @@ public class Matrix implements MatrixI
           if (iter == maxIter)
           {
             throw new Exception(MessageManager.formatMessage(
-                    "exception.matrix_too_many_iteration", new String[] {
-                        "tqli", Integer.valueOf(maxIter).toString() }));
+                    "exception.matrix_too_many_iteration", new String[]
+                    { "tqli", Integer.valueOf(maxIter).toString() }));
           }
           else
           {
@@ -529,7 +529,8 @@ public class Matrix implements MatrixI
             {
               f = getValue(k - 1, i);
               setValue(k - 1, i, (s * getValue(k - 1, i - 1)) + (c * f));
-              setValue(k - 1, i - 1, (c * getValue(k - 1, i - 1)) - (s * f));
+              setValue(k - 1, i - 1,
+                      (c * getValue(k - 1, i - 1)) - (s * f));
             }
           }
 
@@ -745,8 +746,8 @@ public class Matrix implements MatrixI
           if (iter == maxIter)
           {
             throw new Exception(MessageManager.formatMessage(
-                    "exception.matrix_too_many_iteration", new String[] {
-                        "tqli2", Integer.valueOf(maxIter).toString() }));
+                    "exception.matrix_too_many_iteration", new String[]
+                    { "tqli2", Integer.valueOf(maxIter).toString() }));
           }
           else
           {
@@ -864,7 +865,8 @@ public class Matrix implements MatrixI
    * 
    * @param ps
    *          DOCUMENT ME!
-   * @param format TODO
+   * @param format
+   *          TODO
    */
   @Override
   public void printE(PrintStream ps, String format)
@@ -886,9 +888,10 @@ public class Matrix implements MatrixI
   {
     return e;
   }
-  
+
   @Override
-  public int height() {
+  public int height()
+  {
     return rows;
   }