|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JSci.maths.AbstractMath JSci.maths.FourierMath
public final class FourierMath
The Fourier math library.
This class cannot be subclassed or instantiated because all methods are static.
Use sort(transform(sort(...)))
for the discrete analogue of the continuous Fourier transform,
and sort(inverseTransform(sort(...)))
for the inverse transform.
Field Summary |
---|
Fields inherited from interface JSci.maths.NumericalConstants |
---|
GAMMA, GOLDEN_RATIO, LOG10, SQRT2, SQRT2PI, TWO_PI |
Method Summary | |
---|---|
static Complex[] |
inverseTransform(Complex[] data)
Inverse Fourier transform (-2Pi convention). |
static Complex[] |
inverseTransform(double[] data)
Inverse Fourier transform (-2Pi convention). |
static Complex[] |
inverseTransform(double[] dataReal,
double[] dataImag)
Inverse Fourier transform (-2Pi convention). |
static Complex[] |
sort(Complex[] output)
Sorts the output from the Fourier transfom methods into ascending frequency/time order. |
static double[] |
sort(double[] input)
|
static Complex[] |
transform(Complex[] data)
Fourier transform (2Pi convention). |
static Complex[] |
transform(double[] data)
Fourier transform (2Pi convention). |
static Complex[] |
transform(double[] dataReal,
double[] dataImag)
Fourier transform (2Pi convention). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Complex[] transform(Complex[] data)
data
- an array containing the positive time part of the signal
followed by the negative time part.
public static Complex[] transform(double[] dataReal, double[] dataImag)
dataReal
- an array containing the positive real time part of the signal
followed by the negative real time part.dataImag
- an array containing the positive imaginary time part of the signal
followed by the negative imaginary time part.
public static Complex[] transform(double[] data)
data
- an array containing the positive time part of the signal
followed by the negative time part.
public static Complex[] inverseTransform(Complex[] data)
data
- an array containing positive frequencies in ascending order
followed by negative frequencies in ascending order.
public static Complex[] inverseTransform(double[] dataReal, double[] dataImag)
dataReal
- an array containing positive real frequencies in ascending order
followed by negative real frequencies in ascending order.dataImag
- an array containing positive imaginary frequencies in ascending order
followed by negative imaginary frequencies in ascending order.
public static Complex[] inverseTransform(double[] data)
data
- an array containing positive frequencies in ascending order
followed by negative frequencies in ascending order.
public static Complex[] sort(Complex[] output)
public static double[] sort(double[] input)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |