KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > JSci > maths > wavelet > splines > Spline


1 package JSci.maths.wavelet.splines;
2
3 import JSci.maths.wavelet.*;
4 /**************************************************
5 * This class is meant as an abstract encapsulation
6 * for spline objects.
7 ***************************************************/

8 public abstract class Spline extends MultiscaleFunction implements Cloneable JavaDoc {
9
10   public abstract int dimension(int j);
11
12   public abstract int dimension();
13
14     public Object JavaDoc clone() {
15     Spline s=(Spline) super.clone();
16     return(s);
17   }
18
19   public abstract String JavaDoc toString();
20
21   public abstract double[] evaluate(int parm1);
22
23   public abstract int getFilterType();
24
25   public abstract boolean equals(Object JavaDoc parm1);
26   /**********************************************
27   * The interpolate method should be return
28   * the actual value of the spline on knots.
29   * This value would differ in general from the
30   * value generated by the Cascades algorithm
31   * and got from the method evaluate.
32   * This doesn't apply to splines of order -1,0 and 1.
33   ************************************************/

34   public abstract double[] interpolate (int j);
35 }
36
Popular Tags