
public class JavaFftService extends Object implements FftService
FftService implementation in pure Java.| Constructor and Description |
|---|
JavaFftService()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
fft(int[] dims,
double[] in,
double[] out)
Computes a forward transform.
|
ComplexArray |
fullToReduced(ComplexArray full)
Derives a reduced, half-complex
ComplexArray from a full ComplexArray. |
String |
getHint(String name)
Gets the value of the given hint.
|
void |
ifft(int[] dims,
double[] in,
double[] out)
Computes a backward transform.
|
ComplexArray |
reducedToFull(ComplexArray reduced,
int[] logicalDims)
Derives a full
ComplexArray from a reduced, half-complex ComplexArray. |
void |
rfft(int[] dims,
double[] in,
double[] out)
Computes a reduced forward transform.
|
void |
rifft(int[] dims,
double[] in,
double[] out)
Computes a reduced backward transform.
|
void |
setHint(String name,
String value)
Sets the value of the given hint.
|
public void rfft(int[] dims,
double[] in,
double[] out)
FftServicerfft in interface FftServicedims - the dimensions of the transform.in - the input array.out - the output array.public void rifft(int[] dims,
double[] in,
double[] out)
FftServicerifft in interface FftServicedims - the dimensions of the transform.in - the input array.out - the output array.public void fft(int[] dims,
double[] in,
double[] out)
FftServicefft in interface FftServicedims - the dimensions of the transform.in - the input array.out - the output array.public void ifft(int[] dims,
double[] in,
double[] out)
FftServiceifft in interface FftServicedims - the dimensions of the transform.in - the input array.out - the output array.public void setHint(String name, String value)
FftServicesetHint in interface FftServicename - the hint name.value - the value.public String getHint(String name)
FftServicegetHint in interface FftServicename - the hint name.public ComplexArray reducedToFull(ComplexArray reduced, int[] logicalDims)
ComplexArray from a reduced, half-complex ComplexArray.reduced - the reduced array.logicalDims - the logical RealArray dimensions.public ComplexArray fullToReduced(ComplexArray full)
ComplexArray from a full ComplexArray.full - the full array.