commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From celes...@apache.org
Subject svn commit: r1208943 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/FastHadamardTransformer.java
Date Thu, 01 Dec 2011 03:39:26 GMT
Author: celestin
Date: Thu Dec  1 03:39:25 2011
New Revision: 1208943

URL: http://svn.apache.org/viewvc?rev=1208943&view=rev
Log:
Formatting (MATH-677).

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/FastHadamardTransformer.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/FastHadamardTransformer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/FastHadamardTransformer.java?rev=1208943&r1=1208942&r2=1208943&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/FastHadamardTransformer.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/FastHadamardTransformer.java
Thu Dec  1 03:39:25 2011
@@ -34,7 +34,7 @@ import org.apache.commons.math.exception
 public class FastHadamardTransformer implements RealTransformer {
 
     /** {@inheritDoc} */
-    public double[] transform(double f[])
+    public double[] transform(double[] f)
         throws IllegalArgumentException {
         return fht(f);
     }
@@ -47,7 +47,7 @@ public class FastHadamardTransformer imp
     }
 
     /** {@inheritDoc} */
-    public double[] inverseTransform(double f[])
+    public double[] inverseTransform(double[] f)
     throws IllegalArgumentException {
         return FastFourierTransformer.scaleArray(fht(f), 1.0 / f.length);
    }
@@ -69,7 +69,7 @@ public class FastHadamardTransformer imp
      * @return the integer transformed array (spectrum)
      * @throws IllegalArgumentException if any parameters are invalid
      */
-    public int[] transform(int f[])
+    public int[] transform(int[] f)
         throws IllegalArgumentException {
         return fht(f);
     }
@@ -151,7 +151,7 @@ public class FastHadamardTransformer imp
      * @return y output vector
      * @exception IllegalArgumentException if input array is not a power of 2
      */
-    protected double[] fht(double x[]) throws IllegalArgumentException {
+    protected double[] fht(double[] x) throws IllegalArgumentException {
 
         // n is the row count of the input vector x
         final int n     = x.length;
@@ -202,7 +202,7 @@ public class FastHadamardTransformer imp
      * @return y output vector
      * @exception IllegalArgumentException if input array is not a power of 2
      */
-    protected int[] fht(int x[]) throws IllegalArgumentException {
+    protected int[] fht(int[] x) throws IllegalArgumentException {
 
         // n is the row count of the input vector x
         final int n     = x.length;



Mime
View raw message