| Modifier and Type | Field and Description |
|---|---|
| private static final int[] | POWERS_OF_TWO
Table of the powers of 2 to facilitate binary search lookup. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Complex[] | Returns: an array ofComplex with specified real and imaginary parts.the array of real and imaginary parts to be transformed dataRI)Builds a new array of |
| public static double[][] | Returns: a two dimensional array filled with the real and imaginary parts of the specified complex inputthe array of dataC)Complex data to be transformedBuilds a new two dimensional array of |
| public static int | Returns: the base-2 logarithm ofnthe n)int whose base-2 logarithm is to be evaluatedReturns the base-2 logarithm of the specified |
| public static double[] | Returns: a reference to the scaled arraythe real array to be scaled f, double the real scaling coefficient d)Multiply every component in the given real array by the given real number. |
| public static Complex[] | Returns: a reference to the scaled arraythe complex array to be scaled f, double the real scaling coefficient d)Multiply every component in the given complex array by the given real number. |
| POWERS_OF_TWO | back to summary |
|---|---|
| private static final int[] POWERS_OF_TWO Table of the powers of 2 to facilitate binary search lookup.
| |
| TransformUtils | back to summary |
|---|---|
| private TransformUtils() Private constructor. | |
| createComplexArray | back to summary |
|---|---|
| public static Complex[] createComplexArray(final double[][] dataRI) throws DimensionMismatchException Builds a new array of
| |
| createRealImaginaryArray | back to summary |
|---|---|
| public static double[][] createRealImaginaryArray(final Complex[] dataC) Builds a new two dimensional array of
| |
| exactLog2 | back to summary |
|---|---|
| public static int exactLog2(final int n) throws MathIllegalArgumentException Returns the base-2 logarithm of the specified
| |
| scaleArray | back to summary |
|---|---|
| public static double[] scaleArray(double[] f, double d) Multiply every component in the given real array by the given real number. The change is made in place.
| |
| scaleArray | back to summary |
|---|---|
| public static Complex[] scaleArray(Complex[] f, double d) Multiply every component in the given complex array by the given real number. The change is made in place. | |