Modifier and Type | Field and Description |
---|---|
static int |
BACKWARD
Complex-to-complex backward (IFFT).
|
static int |
C_TO_R
Half-complex-to-real (RIFFT).
|
static int |
FFTW_ESTIMATE
FFTW execution flag.
|
static int |
FFTW_EXHAUSTIVE
FFTW execution flag.
|
static int |
FFTW_MEASURE
FFTW execution flag.
|
static int |
FFTW_PATIENT
FFTW execution flag.
|
static int |
FORWARD
Complex-to-complex forward (FFT).
|
static int |
R_TO_C
Real-to-half-complex (RFFT).
|
Constructor and Description |
---|
Plan(int type,
int[] dims,
int mode)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected byte[] |
create(int type,
int[] dims,
int mode)
Creates a pointer to the native peer.
|
protected void |
destroy()
Destroys the native peer.
|
static String |
exportWisdom()
Exports learned wisdom to a string.
|
static void |
importWisdom(String wisdom)
Imports wisdom from a string.
|
String |
toString()
Creates a human-readable representation of this plan.
|
void |
transform(double[] in,
double[] out)
Performs an out-of-place transform.
|
public static final int R_TO_C
public static final int C_TO_R
public static final int FORWARD
public static final int BACKWARD
public static final int FFTW_ESTIMATE
public static final int FFTW_MEASURE
public static final int FFTW_PATIENT
public static final int FFTW_EXHAUSTIVE
public Plan(int type, int[] dims, int mode)
type
- the transform type.dims
- the logical dimensions of the transform.mode
- the mode of the transform.public String toString()
public static final String exportWisdom()
public static final void importWisdom(String wisdom)
wisdom
- the source of wisdom.public final void transform(double[] in, double[] out)
in
- the input array.out
- the output array.protected final byte[] create(int type, int[] dims, int mode)
type
- the transform type.dims
- the dimensions.mode
- the transform mode.protected final void destroy()