public class DefaultFFTInstance extends BaseFFTInstance
Constructor and Description |
---|
DefaultFFTInstance() |
Modifier and Type | Method and Description |
---|---|
IComplexNDArray |
fft(IComplexNDArray inputC,
int numElements,
int dimension)
1d discrete fourier op, note that this will
throw an exception if the passed in input
isn't a vector.
|
IComplexNDArray |
fft(INDArray transform,
int numElements,
int dimension)
FFT along a particular dimension
|
protected Op |
getFftOp(INDArray arr,
int n) |
protected Op |
getIfftOp(INDArray arr,
int n) |
IComplexNDArray |
ifft(IComplexNDArray inputC)
1d discrete fourier op, note that this will
throw an exception if the passed in input
isn't a vector.
|
IComplexNDArray |
ifft(IComplexNDArray inputC,
int numElements,
int dimension)
1d discrete fourier op, note that this will
throw an exception if the passed in input
isn't a vector.
|
IComplexNDArray |
ifft(INDArray transform,
int numElements)
FFT along a particular dimension
|
IComplexNDArray |
ifft(INDArray transform,
int numElements,
int dimension)
IFFT along a particular dimension
|
protected IComplexNDArray |
postProcess(IComplexNDArray result,
int dimension) |
protected IComplexNDArray |
preProcess(IComplexNDArray result,
IComplexNDArray transform,
int n,
int dimension) |
IComplexNDArray |
rawfft(IComplexNDArray transform,
int n,
int dimension)
Underlying fft algorithm
|
IComplexNDArray |
rawifft(IComplexNDArray transform,
int n,
int dimension)
Underlying ifft impl
|
public IComplexNDArray fft(INDArray transform, int numElements, int dimension)
transform
- the ndarray to opnumElements
- the desired number of elements in each fftpublic IComplexNDArray fft(IComplexNDArray inputC, int numElements, int dimension)
inputC
- the input to oppublic IComplexNDArray ifft(INDArray transform, int numElements, int dimension)
transform
- the ndarray to opnumElements
- the desired number of elements in each fftdimension
- the dimension to do fft alongpublic IComplexNDArray ifft(IComplexNDArray inputC, int numElements, int dimension)
inputC
- the input to oppublic IComplexNDArray ifft(INDArray transform, int numElements)
transform
- the ndarray to opnumElements
- the desired number of elements in each fftpublic IComplexNDArray ifft(IComplexNDArray inputC)
inputC
- the input to oppublic IComplexNDArray rawfft(IComplexNDArray transform, int n, int dimension)
transform
- the ndarray to opn
- the desired number of elementsdimension
- the dimension to do fft alongpublic IComplexNDArray rawifft(IComplexNDArray transform, int n, int dimension)
FFTInstance
transform
- the ndarray to opn
- the desired number of elementsdimension
- the dimension to do fft alongprotected IComplexNDArray postProcess(IComplexNDArray result, int dimension)
protected IComplexNDArray preProcess(IComplexNDArray result, IComplexNDArray transform, int n, int dimension)
Copyright © 2017. All rights reserved.