math.jwave
Class Transform
- java.lang.Object
-
- math.jwave.Transform
-
public class Transform extends java.lang.ObjectBase class for transforms like DiscreteFourierTransform, FastBasicTransform, and WaveletPacketTransform.
-
-
Constructor Summary
Constructors Constructor and Description Transform(BasicTransform transform)Constructor; needs some object like DiscreteFourierTransform, FastBasicTransform, WaveletPacketTransfom, ...Transform(BasicTransform transform, int iteration)Constructor; needs some object like DiscreteFourierTransform, FastBasicTransform, WaveletPacketTransfom, ...
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Complex[]forward(Complex[] arrTime)Performs the forward transform from time domain to frequency or Hilbert domain for a given array depending on the used transform algorithm by inheritance.double[]forward(double[] arrTime)Performs the forward transform of the specified BasicWave object.double[][]forward(double[][] matrixTime)Performs the 2-D forward transform of the specified BasicWave object.double[][][]forward(double[][][] spaceTime)Performs the 3-D forward transform of the specified BasicWave object.Complex[]reverse(Complex[] arrFreq)Performs the reverse transform from frequency or Hilbert domain to time domain for a given array depending on the used transform algorithm by inheritance.double[]reverse(double[] arrFreq)Performs the reverse transform of the specified BasicWave object.double[][]reverse(double[][] matrixFreq)Performs the 2-D reverse transform of the specified BasicWave object.double[][][]reverse(double[][][] spaceFreq)Performs the 3-D reverse transform of the specified BasicWave object.
-
-
-
Constructor Detail
-
Transform
public Transform(BasicTransform transform)
Constructor; needs some object like DiscreteFourierTransform, FastBasicTransform, WaveletPacketTransfom, ...- Parameters:
transform- Transform object
-
Transform
public Transform(BasicTransform transform, int iteration)
Constructor; needs some object like DiscreteFourierTransform, FastBasicTransform, WaveletPacketTransfom, ... It take also a number of iteration for decomposition
-
-
Method Detail
-
forward
public double[] forward(double[] arrTime)
Performs the forward transform of the specified BasicWave object.- Parameters:
arrTime- coefficients of time domain- Returns:
- coefficients of frequency or Hilbert domain
-
reverse
public double[] reverse(double[] arrFreq)
Performs the reverse transform of the specified BasicWave object.- Parameters:
arrFreq- coefficients of frequency or Hilbert domain- Returns:
- coefficients of time domain
-
forward
public Complex[] forward(Complex[] arrTime)
Performs the forward transform from time domain to frequency or Hilbert domain for a given array depending on the used transform algorithm by inheritance.- Parameters:
arrTime- coefficients of 1-D time domain- Returns:
- coefficients of 1-D frequency or Hilbert domain
-
reverse
public Complex[] reverse(Complex[] arrFreq)
Performs the reverse transform from frequency or Hilbert domain to time domain for a given array depending on the used transform algorithm by inheritance.- Parameters:
arrFreq- coefficients of 1-D frequency or Hilbert domain- Returns:
- coefficients of 1-D time domain
-
forward
public double[][] forward(double[][] matrixTime)
Performs the 2-D forward transform of the specified BasicWave object.- Parameters:
matrixTime- coefficients of 2-D time domain- Returns:
- coefficients of 2-D frequency or Hilbert domain
-
reverse
public double[][] reverse(double[][] matrixFreq)
Performs the 2-D reverse transform of the specified BasicWave object.- Parameters:
matrixFreq- coefficients of 2-D frequency or Hilbert domain- Returns:
- coefficients of 2-D time domain
-
forward
public double[][][] forward(double[][][] spaceTime)
Performs the 3-D forward transform of the specified BasicWave object.- Parameters:
matrixTime- coefficients of 2-D time domain- Returns:
- coefficients of 2-D frequency or Hilbert domain
-
reverse
public double[][][] reverse(double[][][] spaceFreq)
Performs the 3-D reverse transform of the specified BasicWave object.- Parameters:
matrixFreq- coefficients of 2-D frequency or Hilbert domain- Returns:
- coefficients of 2-D time domain
-
-
DMelt 3.0 © DataMelt by jWork.ORG