Documentation of 'org.nd4j.linalg.fft.FFT' Java class
FFT
org.nd4j.linalg.fft

Class FFT



  • public class FFT
    extends java.lang.Object
    FFT and IFFT
    • Constructor Detail

      • FFT

        public FFT()
    • Method Detail

      • fft

        public static IComplexNDArray fft(INDArray transform,
                                          int numElements)
        FFT along a particular dimension
        Parameters:
        transform - the ndarray to applyTransformToOrigin
        numElements - the desired number of elements in each fft
        Returns:
        the ffted output
      • fft

        public static IComplexNDArray fft(IComplexNDArray inputC)
        1d discrete fourier applyTransformToOrigin, note that this will throw an exception if the passed in input isn't a vector. See matlab's fft2 for more information
        Parameters:
        inputC - the input to applyTransformToOrigin
        Returns:
        the the discrete fourier applyTransformToOrigin of the passed in input
      • fft

        public static IComplexNDArray fft(INDArray input)
        1d discrete fourier applyTransformToOrigin, note that this will throw an exception if the passed in input isn't a vector. See matlab's fft2 for more information
        Parameters:
        input - the input to applyTransformToOrigin
        Returns:
        the the discrete fourier applyTransformToOrigin of the passed in input
      • fft

        public static IComplexNDArray fft(INDArray transform,
                                          int numElements,
                                          int dimension)
        FFT along a particular dimension
        Parameters:
        transform - the ndarray to applyTransformToOrigin
        numElements - the desired number of elements in each fft
        Returns:
        the ffted output
      • fft

        public static IComplexNDArray fft(IComplexNDArray inputC,
                                          int numElements)
        1d discrete fourier applyTransformToOrigin, note that this will throw an exception if the passed in input isn't a vector. See matlab's fft2 for more information
        Parameters:
        inputC - the input to applyTransformToOrigin
        Returns:
        the the discrete fourier applyTransformToOrigin of the passed in input
      • fft

        public static IComplexNDArray fft(IComplexNDArray inputC,
                                          int numElements,
                                          int dimension)
        1d discrete fourier applyTransformToOrigin, note that this will throw an exception if the passed in input isn't a vector. See matlab's fft2 for more information
        Parameters:
        inputC - the input to applyTransformToOrigin
        Returns:
        the the discrete fourier applyTransformToOrigin of the passed in input
      • ifft

        public static IComplexNDArray ifft(INDArray transform,
                                           int numElements,
                                           int dimension)
        IFFT along a particular dimension
        Parameters:
        transform - the ndarray to applyTransformToOrigin
        numElements - the desired number of elements in each fft
        dimension - the dimension to do fft along
        Returns:
        the iffted output
      • ifft

        public static IComplexNDArray ifft(IComplexNDArray inputC)
        1d discrete fourier applyTransformToOrigin, note that this will throw an exception if the passed in input isn't a vector. See matlab's fft2 for more information
        Parameters:
        inputC - the input to applyTransformToOrigin
        Returns:
        the the discrete fourier applyTransformToOrigin of the passed in input
      • ifft

        public static IComplexNDArray ifft(INDArray transform,
                                           int numElements)
        FFT along a particular dimension
        Parameters:
        transform - the ndarray to applyTransformToOrigin
        numElements - the desired number of elements in each fft
        Returns:
        the ffted output
      • ifft

        public static IComplexNDArray ifft(IComplexNDArray inputC,
                                           int numElements,
                                           int dimension)
        1d discrete fourier applyTransformToOrigin, note that this will throw an exception if the passed in input isn't a vector. See matlab's fft2 for more information
        Parameters:
        inputC - the input to applyTransformToOrigin
        Returns:
        the the discrete fourier applyTransformToOrigin of the passed in input
      • ifftn

        public static IComplexNDArray ifftn(INDArray transform,
                                            int dimension,
                                            int numElements)
        ND IFFT, computes along the first on singleton dimension of applyTransformToOrigin
        Parameters:
        transform - the ndarray to applyTransformToOrigin
        dimension - the dimension to iterate along
        numElements - the desired number of elements in each fft
        Returns:
        the reverse ifft of the passed in array
      • ifftn

        public static IComplexNDArray ifftn(IComplexNDArray transform,
                                            int dimension,
                                            int numElements)
        ND IFFT
        Parameters:
        transform - the ndarray to applyTransformToOrigin
        dimension - the dimension to iterate along
        numElements - the desired number of elements in each fft
        Returns:
        the transformed array
      • fftn

        public static IComplexNDArray fftn(IComplexNDArray transform,
                                           int dimension,
                                           int numElements)
        Performs FFT along the first non singleton dimension of applyTransformToOrigin. This means
        Parameters:
        transform - the ndarray to applyTransformToOrigin
        dimension - the dimension to iterate along
        numElements - the desired number of elements in each fft along each dimension from each slice (note: each slice)
        Returns:
        the transformed array
      • fftn

        public static IComplexNDArray fftn(INDArray transform,
                                           int dimension,
                                           int numElements)
        Computes the fft along the first non singleton dimension of applyTransformToOrigin when it is a matrix
        Parameters:
        transform - the ndarray to applyTransformToOrigin
        dimension - the dimension to do fft along
        numElements - the desired number of elements in each fft
        Returns:
        the fft of the specified ndarray
      • fftn

        public static IComplexNDArray fftn(INDArray transform)
        FFT on the whole array (n is equal the first dimension shape)
        Parameters:
        transform - the matrix to applyTransformToOrigin
        Returns:
        the ffted array
      • fftn

        public static IComplexNDArray fftn(IComplexNDArray transform)
        FFT on the whole array (n is equal the first dimension shape)
        Parameters:
        transform - the matrix to applyTransformToOrigin
        Returns:
        the ffted array
      • rawfft

        public static IComplexNDArray rawfft(IComplexNDArray transform,
                                             int n,
                                             int dimension)
        Underlying fft algorithm
        Parameters:
        transform - the ndarray to transform
        n - the desired number of elements
        dimension - the dimension to do fft along
        Returns:
        the transformed ndarray

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.