From f19895754dfffb7876e694c82104e3b3ae013cb7 Mon Sep 17 00:00:00 2001 From: Sebastien Brisard Date: Thu, 1 Dec 2011 03:39:25 +0000 Subject: [PATCH] Formatting (MATH-677). git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1208943 13f79535-47bb-0310-9956-ffa450edef68 --- .../math/transform/FastHadamardTransformer.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/org/apache/commons/math/transform/FastHadamardTransformer.java b/src/main/java/org/apache/commons/math/transform/FastHadamardTransformer.java index 8041e6e69..eb1708053 100644 --- a/src/main/java/org/apache/commons/math/transform/FastHadamardTransformer.java +++ b/src/main/java/org/apache/commons/math/transform/FastHadamardTransformer.java @@ -34,7 +34,7 @@ import org.apache.commons.math.exception.util.LocalizedFormats; 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 implements RealTransformer { } /** {@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 implements RealTransformer { * @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 implements RealTransformer { * @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 implements RealTransformer { * @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;