org.jscience.mathematics.wavelet
Class FWTCoefMathUtils

java.lang.Object
  extended by org.jscience.mathematics.wavelet.FWTCoefMathUtils

public final class FWTCoefMathUtils
extends java.lang.Object

This class allows to do some operations on wavelet coefficients


Method Summary
static boolean areCompatible(FWTCoef[] a)
          DOCUMENT ME!
static boolean areCompatible(FWTCoef a, FWTCoef b)
          DOCUMENT ME!
static double energyRatio(FWTCoef[] a, int i)
          DOCUMENT ME!
static double entropy(FWTCoef[] a)
          DOCUMENT ME!
static double entropy(FWTCoef[] a, int i)
          DOCUMENT ME!
static int getJ(FWTCoef[] a)
          DOCUMENT ME!
static double icf(FWTCoef[] a)
          Compute the Shannon entropy.
static double icfVariance(FWTCoef[] a)
          DOCUMENT ME!
static double sumEnergies(FWTCoef[] a)
          DOCUMENT ME!
static double sumSquares(FWTCoef[] a, int i)
          Compute the sum of the squares of the coefficients
static double sumVariance(FWTCoef[] a)
          DOCUMENT ME!
static double variance(FWTCoef[] a, int i)
          DOCUMENT ME!
static double varianceRatio(FWTCoef[] a, int i)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

areCompatible

public static boolean areCompatible(FWTCoef a,
                                    FWTCoef b)
DOCUMENT ME!

Parameters:
a - DOCUMENT ME!
b - DOCUMENT ME!
Returns:
DOCUMENT ME!

areCompatible

public static boolean areCompatible(FWTCoef[] a)
DOCUMENT ME!

Parameters:
a - DOCUMENT ME!
Returns:
DOCUMENT ME!

getJ

public static int getJ(FWTCoef[] a)
DOCUMENT ME!

Parameters:
a - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

sumSquares

public static double sumSquares(FWTCoef[] a,
                                int i)
Compute the sum of the squares of the coefficients

Parameters:
a - DOCUMENT ME!
i - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

variance

public static double variance(FWTCoef[] a,
                              int i)
DOCUMENT ME!

Parameters:
a - DOCUMENT ME!
i - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

sumEnergies

public static double sumEnergies(FWTCoef[] a)
DOCUMENT ME!

Parameters:
a - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

entropy

public static double entropy(FWTCoef[] a,
                             int i)
DOCUMENT ME!

Parameters:
a - DOCUMENT ME!
i - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

entropy

public static double entropy(FWTCoef[] a)
DOCUMENT ME!

Parameters:
a - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

sumVariance

public static double sumVariance(FWTCoef[] a)
DOCUMENT ME!

Parameters:
a - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

energyRatio

public static double energyRatio(FWTCoef[] a,
                                 int i)
DOCUMENT ME!

Parameters:
a - DOCUMENT ME!
i - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

varianceRatio

public static double varianceRatio(FWTCoef[] a,
                                   int i)
DOCUMENT ME!

Parameters:
a - DOCUMENT ME!
i - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

icf

public static double icf(FWTCoef[] a)
Compute the Shannon entropy.

Parameters:
a - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

icfVariance

public static double icfVariance(FWTCoef[] a)
DOCUMENT ME!

Parameters:
a - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!