|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFastFourierTransformer
This interface gathers all the FFT algorithms of this library.
Method Summary | |
---|---|
Complex[] |
transform(Complex[] f,
TransformType type)
Returns the (forward, inverse) transform of the specified complex data set. |
Complex[] |
transform(double[] f,
TransformType type)
Returns the (forward, inverse) transform of the specified real data set. |
Complex[] |
transform(UnivariateFunction f,
double min,
double max,
int n,
TransformType type)
Returns the (forward, inverse) transform of the specified real function, sampled on the specified interval. |
Method Detail |
---|
Complex[] transform(double[] f, TransformType type)
f
- the real data array to be transformedtype
- the type of transform (forward, inverse) to be performed
Complex[] transform(Complex[] f, TransformType type)
f
- the complex data array to be transformedtype
- the type of transform (forward, inverse) to be performed
Complex[] transform(UnivariateFunction f, double min, double max, int n, TransformType type)
f
- the function to be sampled and transformedmin
- the (inclusive) lower bound for the intervalmax
- the (exclusive) upper bound for the intervaln
- the number of sample pointstype
- the type of transform (forward, inverse) to be performed
NumberIsTooLargeException
- if the lower bound is greater than, or equal to the upper bound
NotStrictlyPositiveException
- if the number of sample points n
is negative
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |