|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvec_math.FastFourierTransform
public class FastFourierTransform
Does a fast fourier transform following the algorithm presented in Numerical Recipes, p. 507f
| Nested Class Summary | |
|---|---|
static class |
FastFourierTransform.RealTest
Test the real-value fft. |
static class |
FastFourierTransform.Test
|
static class |
FastFourierTransform.WhiteNoise
|
| Constructor Summary | |
|---|---|
FastFourierTransform()
|
|
| Method Summary | |
|---|---|
static Complex[] |
fft(Complex[] x)
Does fft in the complex domain. |
static Complex[] |
ifft(Complex[] x)
Does inverse fft in the complex domain. |
static Complex[] |
realFft(Double[] real)
Does an fft of a real data set by splitting it into a complex array half the size. |
static double[] |
zeroPad(double[] in)
Returns a double array that is zero-padded to both side and has a length that is the closest ceiling power-of-two to the length of the input array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FastFourierTransform()
| Method Detail |
|---|
public static Complex[] fft(Complex[] x)
x - Complex input data, length must be a power of 2.
public static Complex[] ifft(Complex[] x)
x - Complex input data, length must be a power of 2.
public static Complex[] realFft(Double[] real)
public static double[] zeroPad(double[] in)
System.arraycopy(java.lang.Object, int, java.lang.Object, int, int) method.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||