|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math3.transform.AbstractFastFourierTransformer
org.apache.commons.math3.transform.FastFourierTransformer
public class FastFourierTransformer
This class allows the computation of a Fast Fourier Transform for all kind (odd or powers of two) orders.
| Constructor Summary | |
|---|---|
FastFourierTransformer(DftNormalization dftNormalization)
Constructor of the class FastFourierTransformer, inherited from the one of the abstract class AbstractFastFourierTransformer |
|
| Method Summary | |
|---|---|
Object |
mdfft(Object mdca,
TransformType type)
Deprecated. see MATH-736 |
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. |
| Methods inherited from class org.apache.commons.math3.transform.AbstractFastFourierTransformer |
|---|
getNormalization, normalizeTransformedData, transform |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FastFourierTransformer(DftNormalization dftNormalization)
dftNormalization - an enum with two possible values : STANDARD or UNITARY| Method Detail |
|---|
public Complex[] transform(double[] f,
TransformType type)
f - the real data array to be transformedtype - the type of transform (forward, inverse) to be performed
public Complex[] transform(Complex[] f,
TransformType type)
f - the complex data array to be transformedtype - the type of transform (forward, inverse) to be performed
@Deprecated
public Object mdfft(Object mdca,
TransformType type)
transform(Complex[], TransformType) in a row-column
implementation in any number of dimensions with
O(N×log(N)) complexity with
N = n1 × n2 ×n3 × ...
× nd, where nk is the number of elements in
dimension k, and d is the total number of dimensions.
mdca - Multi-Dimensional Complex Array, i.e. Complex[][][][]type - the type of transform (forward, inverse) to be performed
mdca as a Multi-Dimensional Complex Array, i.e. Complex[][][][]
IllegalArgumentException - if any dimension is not a power of two
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||