JSci.maths.wavelet
Class MultiscaleFunction

java.lang.Object
  extended by JSci.maths.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()
           
abstract  int dimension(int jfin)
           
abstract  boolean equals(java.lang.Object o)
          Check if another object is equal to this MultiscaleFunction object
abstract  double[] evaluate(int j)
          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)

dimension

public abstract int dimension()

clone

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

Overrides:
clone in class java.lang.Object

toString

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

Overrides:
toString in class java.lang.Object

evaluate

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

Parameters:
j - number of iterations

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)

mass

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

Parameters:
jfin - number of iterations to consider (precision)

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 2*k+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.


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