org.jscience.mathematics.wavelet
Class MultiscaleFunction

java.lang.Object
  extended by org.jscience.mathematics.wavelet.MultiscaleFunction
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
Cosine, DiscreteFunction, DualScaling2_4, DualScaling3_5, DualWavelet2_4, DualWavelet3_5, Scaling2, Scaling3, Scaling4, Scaling5, Scaling6, Scaling7, Scaling8, Sine, Spline, Wavelet2, Wavelet3, Wavelet4, Wavelet5, Wavelet6, Wavelet7, Wavelet8

public abstract class MultiscaleFunction
extends java.lang.Object
implements java.lang.Cloneable

Abstract encapsulation mostly meant for wavelet functions (dyadic case).


Constructor Summary
MultiscaleFunction()
           
 
Method Summary
 java.lang.Object clone()
          Return a copy of the object
abstract  int dimension()
          DOCUMENT ME!
abstract  int dimension(int jfin)
          DOCUMENT ME!
abstract  boolean equals(java.lang.Object o)
          Check if another object is equal to this MultiscaleFunction object
abstract  double[] evaluate(int j1)
          Return as an array the sampled values of the function
abstract  int getFilterType()
          This method is used to compute how the number of scaling functions changes from on scale to the other.
 double mass(double a, double b, int jfin)
          Compute the mass (integral)
 double mass(int jfin)
          Compute the mass (integral) of the interval 0,1
abstract  java.lang.String toString()
          Return a string representing the object
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultiscaleFunction

public MultiscaleFunction()
Method Detail

dimension

public abstract int dimension(int jfin)
DOCUMENT ME!

Parameters:
jfin - DOCUMENT ME!
Returns:
DOCUMENT ME!

dimension

public abstract int dimension()
DOCUMENT ME!

Returns:
DOCUMENT ME!

clone

public java.lang.Object clone()
Return a copy of the object

Overrides:
clone in class java.lang.Object
Returns:
DOCUMENT ME!
Throws:
java.lang.InternalError - DOCUMENT ME!

toString

public abstract java.lang.String toString()
Return a string representing the object

Overrides:
toString in class java.lang.Object
Returns:
DOCUMENT ME!

evaluate

public abstract double[] evaluate(int j1)
Return as an array the sampled values of the function

Parameters:
j1 - number of iterations
Returns:
DOCUMENT ME!

mass

public double mass(double a,
                   double b,
                   int jfin)
Compute the mass (integral)

Parameters:
a - left boundary of the interval
b - right boundary of the interval
jfin - number of iterations to consider (precision)
Returns:
DOCUMENT ME!

mass

public double mass(int jfin)
Compute the mass (integral) of the interval 0,1

Parameters:
jfin - number of iterations to consider (precision)
Returns:
DOCUMENT ME!

getFilterType

public abstract int getFilterType()
This method is used to compute how the number of scaling functions changes from on scale to the other. Basically, if you have k scaling function and a Filter of type t, you'll have 2k+t scaling functions at the next scale (dyadic case). Notice that this method assumes that one is working with the dyadic grid while the method "previousDimension" define in the interface "Filter" doesn't.

Returns:
DOCUMENT ME!

equals

public abstract boolean equals(java.lang.Object o)
Check if another object is equal to this MultiscaleFunction object

Overrides:
equals in class java.lang.Object
Parameters:
o - DOCUMENT ME!
Returns:
DOCUMENT ME!