jsci.maths.wavelet.splines
Class Spline
- java.lang.Object
-
- jsci.maths.wavelet.MultiscaleFunction
-
- jsci.maths.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
Constructors Constructor and Description Spline()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description java.lang.Objectclone()Return a copy of the objectabstract intdimension()abstract intdimension(int j)abstract booleanequals(java.lang.Object parm1)Check if another object is equal to this MultiscaleFunction objectabstract double[]evaluate(int parm1)Return as an array the sampled values of the functionabstract intgetFilterType()This method is used to compute how the number of scaling functions changes from on scale to the other.abstract double[]interpolate(int j)The interpolate method should be return the actual value of the spline on knots.abstract java.lang.StringtoString()Return a string representing the object-
Methods inherited from class jsci.maths.wavelet.MultiscaleFunction
mass, mass
-
-
-
-
Method Detail
-
dimension
public abstract int dimension(int j)
- Specified by:
dimensionin classMultiscaleFunction
-
dimension
public abstract int dimension()
- Specified by:
dimensionin classMultiscaleFunction
-
clone
public java.lang.Object clone()
Description copied from class:MultiscaleFunctionReturn a copy of the object- Overrides:
clonein classMultiscaleFunction
-
toString
public abstract java.lang.String toString()
Description copied from class:MultiscaleFunctionReturn a string representing the object- Specified by:
toStringin classMultiscaleFunction
-
evaluate
public abstract double[] evaluate(int parm1)
Description copied from class:MultiscaleFunctionReturn as an array the sampled values of the function- Specified by:
evaluatein classMultiscaleFunction- Parameters:
parm1- number of iterations
-
getFilterType
public abstract int getFilterType()
Description copied from class:MultiscaleFunctionThis 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.- Specified by:
getFilterTypein classMultiscaleFunction
-
equals
public abstract boolean equals(java.lang.Object parm1)
Description copied from class:MultiscaleFunctionCheck if another object is equal to this MultiscaleFunction object- Specified by:
equalsin classMultiscaleFunction
-
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.
-
-
DMelt 3.0 © DataMelt by jWork.ORG