public abstract class BaseFFTInstance extends Object implements FFTInstance
Constructor and Description |
---|
BaseFFTInstance() |
Modifier and Type | Method and Description |
---|---|
protected IComplexNDArray |
doFFt(IComplexNDArray transform,
int[] shape,
int[] axes,
boolean inverse) |
protected IComplexNDArray |
doInnerFft(IComplexNDArray result,
int[] shape,
int[] axes,
boolean inverse) |
IComplexNDArray |
fft(IComplexNDArray inputC)
1d discrete fourier op, note that this will
throw an exception if the passed in input
isn't a vector.
|
IComplexNDArray |
fft(IComplexNDArray inputC,
int numElements)
1d discrete fourier op, note that this will
throw an exception if the passed in input
isn't a vector.
|
IComplexNDArray |
fft(INDArray input)
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)
FFT along a particular dimension
|
IComplexNDArray |
fftn(IComplexNDArray transform)
FFT on the whole array (n is equal the first dimension shape)
|
IComplexNDArray |
fftn(IComplexNDArray transform,
int dimension,
int numElements)
Performs FFT along the first non singleton dimension of
op.
|
IComplexNDArray |
fftn(INDArray transform)
FFT on the whole array (n is equal the first dimension shape)
|
IComplexNDArray |
fftn(INDArray transform,
int dimension,
int numElements)
Computes the fft along the first non singleton dimension of op
when it is a matrix
|
IComplexNDArray |
ifftn(IComplexNDArray transform) |
IComplexNDArray |
ifftn(IComplexNDArray transform,
int dimension) |
IComplexNDArray |
ifftn(IComplexNDArray transform,
int dimension,
int numElements)
ND IFFT
|
IComplexNDArray |
ifftn(INDArray transform) |
IComplexNDArray |
ifftn(INDArray transform,
int dimension,
int numElements)
ND IFFT, computes along the first on singleton dimension of
op
|
IComplexNDArray |
irfft(IComplexNDArray arr) |
IComplexNDArray |
irfft(IComplexNDArray arr,
int dimension) |
IComplexNDArray |
irfftn(IComplexNDArray arr) |
IComplexNDArray |
rawfftn(IComplexNDArray transform,
int[] shape,
int[] axes) |
IComplexNDArray |
rawifft(IComplexNDArray transform,
int dimension)
Underlying ifft impl
|
IComplexNDArray |
rawifftn(IComplexNDArray transform,
int[] shape,
int[] axes) |
public IComplexNDArray fft(INDArray transform, int numElements)
fft
in interface FFTInstance
transform
- the ndarray to opnumElements
- the desired number of elements in each fftpublic IComplexNDArray fft(IComplexNDArray inputC)
fft
in interface FFTInstance
inputC
- the input to oppublic IComplexNDArray fft(INDArray input)
fft
in interface FFTInstance
input
- the input to oppublic IComplexNDArray fft(IComplexNDArray inputC, int numElements)
fft
in interface FFTInstance
inputC
- the input to oppublic IComplexNDArray ifftn(INDArray transform, int dimension, int numElements)
ifftn
in interface FFTInstance
transform
- the ndarray to opdimension
- the dimension to iterate alongnumElements
- the desired number of elements in each fftpublic IComplexNDArray irfftn(IComplexNDArray arr)
irfftn
in interface FFTInstance
public IComplexNDArray irfft(IComplexNDArray arr, int dimension)
irfft
in interface FFTInstance
public IComplexNDArray irfft(IComplexNDArray arr)
irfft
in interface FFTInstance
public IComplexNDArray ifftn(IComplexNDArray transform, int dimension, int numElements)
ifftn
in interface FFTInstance
transform
- the ndarray to opdimension
- the dimension to iterate alongnumElements
- the desired number of elements in each fftpublic IComplexNDArray fftn(IComplexNDArray transform, int dimension, int numElements)
fftn
in interface FFTInstance
transform
- the ndarray to opdimension
- the dimension to iterate alongnumElements
- the desired number of elements in each fft
along each dimension from each slice (note: each slice)public IComplexNDArray fftn(INDArray transform, int dimension, int numElements)
fftn
in interface FFTInstance
transform
- the ndarray to opdimension
- the dimension to do fft alongnumElements
- the desired number of elements in each fftpublic IComplexNDArray fftn(INDArray transform)
fftn
in interface FFTInstance
transform
- the matrix to oppublic IComplexNDArray fftn(IComplexNDArray transform)
fftn
in interface FFTInstance
transform
- the matrix to oppublic IComplexNDArray ifftn(IComplexNDArray transform, int dimension)
ifftn
in interface FFTInstance
public IComplexNDArray ifftn(IComplexNDArray transform)
ifftn
in interface FFTInstance
public IComplexNDArray ifftn(INDArray transform)
ifftn
in interface FFTInstance
public IComplexNDArray rawifftn(IComplexNDArray transform, int[] shape, int[] axes)
rawifftn
in interface FFTInstance
public IComplexNDArray rawfftn(IComplexNDArray transform, int[] shape, int[] axes)
rawfftn
in interface FFTInstance
public IComplexNDArray rawifft(IComplexNDArray transform, int dimension)
FFTInstance
rawifft
in interface FFTInstance
transform
- the ndarray to opdimension
- the dimension to do fft alongprotected IComplexNDArray doFFt(IComplexNDArray transform, int[] shape, int[] axes, boolean inverse)
protected IComplexNDArray doInnerFft(IComplexNDArray result, int[] shape, int[] axes, boolean inverse)
Copyright © 2015. All Rights Reserved.