org.jscience.mathematics.wavelet.splines
Class Spline

java.lang.Object
  extended by org.jscience.mathematics.wavelet.MultiscaleFunction
      extended by org.jscience.mathematics.wavelet.splines.Spline
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
LinearSpline, PiecewiseConstant, QuadraticSpline, SumOfDiracs

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

This class is meant as an abstract encapsulation for spline objects.


Constructor Summary
Spline()
           
 
Method Summary
 java.lang.Object clone()
          DOCUMENT ME!
abstract  int dimension()
          DOCUMENT ME!
abstract  int dimension(int j)
          DOCUMENT ME!
abstract  boolean equals(java.lang.Object parm1)
          DOCUMENT ME!
abstract  double[] evaluate(int parm1)
          DOCUMENT ME!
abstract  int getFilterType()
          DOCUMENT ME!
abstract  double[] interpolate(int j)
          The interpolate method should be return the actual value of the spline on knots.
abstract  java.lang.String toString()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.mathematics.wavelet.MultiscaleFunction
mass, mass
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Spline

public Spline()
Method Detail

dimension

public abstract int dimension(int j)
DOCUMENT ME!

Specified by:
dimension in class MultiscaleFunction
Parameters:
j - DOCUMENT ME!
Returns:
DOCUMENT ME!

dimension

public abstract int dimension()
DOCUMENT ME!

Specified by:
dimension in class MultiscaleFunction
Returns:
DOCUMENT ME!

clone

public java.lang.Object clone()
DOCUMENT ME!

Overrides:
clone in class MultiscaleFunction
Returns:
DOCUMENT ME!

toString

public abstract java.lang.String toString()
DOCUMENT ME!

Specified by:
toString in class MultiscaleFunction
Returns:
DOCUMENT ME!

evaluate

public abstract double[] evaluate(int parm1)
DOCUMENT ME!

Specified by:
evaluate in class MultiscaleFunction
Parameters:
parm1 - DOCUMENT ME!
Returns:
DOCUMENT ME!

getFilterType

public abstract int getFilterType()
DOCUMENT ME!

Specified by:
getFilterType in class MultiscaleFunction
Returns:
DOCUMENT ME!

equals

public abstract boolean equals(java.lang.Object parm1)
DOCUMENT ME!

Specified by:
equals in class MultiscaleFunction
Parameters:
parm1 - DOCUMENT ME!
Returns:
DOCUMENT ME!

interpolate

public abstract double[] interpolate(int j)
The interpolate method should be return the actual value of the spline on knots. This value would differ in general from the value generated by the Cascades algorithm and got from the method evaluate. This doesn't apply to splines of order -1,0 and 1.

Parameters:
j - DOCUMENT ME!
Returns:
DOCUMENT ME!