A class for executing and manipulating FFTW3 plans. More...
#include <Plan.hpp>
Static Public Member Functions | |
static void | transform (JNIEnv *env, jobject thisObj, jdoubleArray in, jdoubleArray out) |
Performs an out-of-place transform. More... | |
static jbyteArray | create (JNIEnv *env, jobject thisObj, jint type, jintArray dims, jint logicalMode) |
Creates a pointer to the native peer. More... | |
static void | destroy (JNIEnv *env, jobject thisObj) |
Destroys the native peer. More... | |
static jstring | exportWisdom (JNIEnv *env) |
Exports learned wisdom to a string. More... | |
static void | importWisdom (JNIEnv *env, jstring wisdom) |
Imports wisdom from a string. More... | |
static void | getTransformParameters (jint &inLen, jint &outLen, jdouble &scalingFactor, jint type, const jint *dimsArr, jint nDims) |
Gets the transform parameters. More... | |
static fftw_plan | createPlan (jint type, const jint *dimsArr, jint nDims, jint logicalMode, jint inLen, jint outLen) |
Creates a native plan. More... | |
static void | executePlan (jint type, fftw_plan plan, jdouble *inArr, jint inLen, jdouble *outArr, jint outLen, jdouble scalingFactor) |
Executes a native plan. More... | |
static void | executePlanCToR (fftw_plan plan, jdouble *inArr, jdouble *outArr, jint inLen) |
Executes a complex-to-real transform, which requires special handling because it destroys its input. More... | |
static void | init (JNIEnv *env) |
Initializes the Plan class. More... | |
static void | destroy (JNIEnv *env) |
Destroys the Plan class. More... | |
A class for executing and manipulating FFTW3 plans.
|
static |
Creates a pointer to the native peer.
env | the JNI environment. |
thisObj | this object. |
type | the transform type. |
dims | the dimensions. |
logicalMode | the transform mode. |
|
inlinestatic |
Creates a native plan.
type | the transform type. |
dimsArr | the dimensions. |
nDims | the number of dimensions. |
logicalMode | the transform mode. |
inLen | the input array length. |
outLen | the output array length. |
|
static |
Destroys the native peer.
env | the JNI environment. |
thisObj | this object. |
|
static |
Destroys the Plan class.
env | the JNI environment. |
|
inlinestatic |
Executes a native plan.
type | the transform type. |
plan | the native plan. |
inArr | the input array. |
inLen | the input array length. |
outArr | the output array. |
outLen | the output array length. |
scalingFactor | the scaling factor. |
|
static |
Executes a complex-to-real transform, which requires special handling because it destroys its input.
plan | the native plan. |
inArr | the input array. |
outArr | the output array. |
inLen | the input array length. |
|
static |
Exports learned wisdom to a string.
env | the JNI environment. |
|
inlinestatic |
Gets the transform parameters.
inLen | the determined input array size. |
outLen | the determined output array size. |
scalingFactor | the determined scaling factor. |
type | the transform type. |
dimsArr | the dimensions. |
nDims | the number of dimensions. |
|
static |
Imports wisdom from a string.
env | the JNI environment. |
wisdom | the source of wisdom. |
|
static |
Initializes the Plan class.
env | the JNI environment. |
|
static |
Performs an out-of-place transform.
env | the JNI environment. |
thisObj | this object. |
in | the input array. |
out | the output array. |