Class Helper


(package private) class Helper
extends java.lang.Object

Wavelet Transformation Demo: Class with some general static methods

Method Summary

static byte[]
reTransposeArray(byte[][] in, int rowCount, int colCount)
Transpose a 2-dim array into a 1-dim array
static double[][]
swapRowsAndCols(double[][] in)
Swap rows and columns of a 2-dim array
static double[][]
transposeArray(double[] in, int rowCount, int colCount)
Transpose a 1-dim array into a 2-dim array

Method Details

reTransposeArray

public static byte[] reTransposeArray(byte[][] in,
                                      int rowCount,
                                      int colCount)
Transpose a 2-dim array into a 1-dim array

swapRowsAndCols

public static double[][] swapRowsAndCols(double[][] in)
Swap rows and columns of a 2-dim array

transposeArray

public static double[][] transposeArray(double[] in,
                                        int rowCount,
                                        int colCount)
Transpose a 1-dim array into a 2-dim array