org.apache.commons.math3.transform
Interface IFastFourierTransformer

All Known Implementing Classes:
AbstractFastFourierTransformer, FastFourierTransformer

public interface IFastFourierTransformer

This interface gathers all the FFT algorithms of this library.

Since:
2.3
Version:
$Id: IFastFourierTransformer.java 11216 2014-10-22 17:29:11Z laurens $

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

transform

Complex[] transform(double[] f,
                    TransformType type)
Returns the (forward, inverse) transform of the specified real data set.

Parameters:
f - the real data array to be transformed
type - the type of transform (forward, inverse) to be performed
Returns:
the complex transformed array

transform

Complex[] transform(Complex[] f,
                    TransformType type)
Returns the (forward, inverse) transform of the specified complex data set.

Parameters:
f - the complex data array to be transformed
type - the type of transform (forward, inverse) to be performed
Returns:
the complex transformed array

transform

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.

Parameters:
f - the function to be sampled and transformed
min - the (inclusive) lower bound for the interval
max - the (exclusive) upper bound for the interval
n - the number of sample points
type - the type of transform (forward, inverse) to be performed
Returns:
the complex transformed array
Throws:
NumberIsTooLargeException - if the lower bound is greater than, or equal to the upper bound
NotStrictlyPositiveException - if the number of sample points n is negative


Copyright © 2016 CNES. All Rights Reserved.