math.jwave.transforms

## Class BasicTransform

- java.lang.Object
- math.jwave.transforms.BasicTransform

- Direct Known Subclasses:
- AncientEgyptianDecomposition, DiscreteFourierTransform, WaveletTransform

public abstract class BasicTransformextends Object

Basic Wave for transformations like Fast Fourier Transform (FFT), Fast Wavelet Transform (FWT), Fast Wavelet Packet Transform (WPT), or Discrete Wavelet Transform (DWT). Naming of this class due to en.wikipedia.org; to write Fourier series in terms of the 'basic waves' of function: e^(2*pi*i*w).

### Constructor Summary

Constructors Constructor and Description **BasicTransform**()

### Method Summary

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.`abstract double[]`

**forward**(double[] 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[][] matTime)Performs the 2-D 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[][][] spcTime)Performs the 3-D forward transform from time domain to frequency or Hilbert domain for a given array depending on the used transform algorithm by inheritance.`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.`abstract double[]`

**reverse**(double[] 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[][] matFreq)Performs the 2-D reverse transform from frequency or Hilbert or time domain to time domain for a given array depending on the used transform algorithm by inheritance.`double[][][]`

**reverse**(double[][][] spcHilb)Performs the 3-D reverse transform from frequency or Hilbert domain to time domain for a given array depending on the used transform algorithm by inheritance.

### Method Detail

#### forward

public abstract double[] forward(double[] 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 abstract double[] reverse(double[] 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 Complex[] forward(Complex[] arrTime)

- Parameters:
`arrTime`

- coefficients of 1-D time domain- Returns:
- coefficients of 1-D frequency or Hilbert domain

#### reverse

public Complex[] reverse(Complex[] arrFreq)

- Parameters:
`arrFreq`

- coefficients of 1-D frequency or Hilbert domain- Returns:
- coefficients of 1-D time domain

#### forward

public double[][] forward(double[][] matTime)

Performs the 2-D forward transform from time domain to frequency or Hilbert domain for a given array depending on the used transform algorithm by inheritance.- Parameters:
`matTime`

- coefficients of 2-D time domain- Returns:
- coefficients of 2-D frequency or Hilbert domain

#### reverse

public double[][] reverse(double[][] matFreq)

Performs the 2-D reverse transform from frequency or Hilbert or time domain to time domain for a given array depending on the used transform algorithm by inheritance.- Parameters:
`matFreq`

- coefficients of 2-D frequency or Hilbert domain- Returns:
- coefficients of 2-D time domain

#### forward

public double[][][] forward(double[][][] spcTime)

Performs the 3-D forward transform from time domain to frequency or Hilbert domain for a given array depending on the used transform algorithm by inheritance.- Parameters:
`spcTime`

- coefficients of 3-D time domain domain- Returns:
- coefficients of 3-D frequency or Hilbert domain

#### reverse

public double[][][] reverse(double[][][] spcHilb)

Performs the 3-D reverse transform from frequency or Hilbert domain to time domain for a given array depending on the used transform algorithm by inheritance.- Parameters:
`spcHilb`

- coefficients of 3-D frequency or Hilbert domain- Returns:
- coefficients of 3-D time domain

**SCaVis 1.8 © jWork.org**