|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectJSci.maths.wavelet.MultiscaleFunction
JSci.maths.wavelet.splines.Spline
JSci.maths.wavelet.splines.QuadraticSpline
This class is used to generate quadratic splines to be used as wavelets or related functions. It can also be used for basic interpolation.
| Field Summary | |
protected static int |
filtretype
|
(package private) static double[] |
v0
|
(package private) static double[] |
vg
|
| Constructor Summary | |
QuadraticSpline()
|
|
QuadraticSpline(double[] v)
|
|
| Method Summary | |
java.lang.Object |
clone()
Return a copy of this object |
LinearSpline |
derive()
compute the derivative of the function - useful for numerical analysis |
LinearSpline |
derive(double a,
double b)
compute the derivative of the function - useful for numerical analysis |
int |
dimension()
Number of knots |
int |
dimension(int jfin)
Number of knots after j iterations |
boolean |
equals(java.lang.Object a)
Check if another object is equal to this QuadraticSpline object |
double[] |
evaluate(int jfin)
Return as an array the sampled values of the function |
int |
getFilterType()
This method is used to compute how the number of scaling functions changes from on scale to the other. |
double |
getValue(int i)
Get the i th sampled value of the function. |
double[] |
highpass(double[] gete)
This is the implementation of the highpass Filter. |
double[] |
highpass(double[] v,
double[] param)
This is the implementation of the highpass Filter. |
double[] |
interpolate(int j)
Return as an array the interpolated values of the function. |
double[] |
lowpass(double[] gete)
This is the implementation of the lowpass Filter. |
double[] |
lowpass(double[] v,
double[] param)
This is the implementation of the lowpass Filter. |
int |
previousDimension(int k)
This method return the number of "scaling" functions at the previous scale given a number of scaling functions. |
void |
setValue(int i,
double d)
Set a particular value |
void |
setValues(double[] v)
Set the sampled values of the function to the specified array |
java.lang.String |
toString()
Return a String representation of the object |
| Methods inherited from class JSci.maths.wavelet.MultiscaleFunction |
mass, mass |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected static final int filtretype
static final double[] vg
static final double[] v0
| Constructor Detail |
public QuadraticSpline(double[] v)
public QuadraticSpline()
| Method Detail |
public java.lang.String toString()
toString in class Splinepublic int getFilterType()
getFilterType in class Splinepublic boolean equals(java.lang.Object a)
equals in class Splinepublic int previousDimension(int k)
previousDimension in interface Filter
public double[] lowpass(double[] v,
double[] param)
lowpass in interface Filterparam - a parameter for the filter
public double[] highpass(double[] v,
double[] param)
highpass in interface Filterparam - a parameter for the filterpublic double[] lowpass(double[] gete)
lowpass in interface Filterpublic double[] highpass(double[] gete)
highpass in interface Filterpublic java.lang.Object clone()
clone in class Splinepublic double getValue(int i)
i - position (knot)
java.lang.IllegalArgumentException - if i is not
a within 0 and the last knot (dimension()-1)
public void setValue(int i,
double d)
i - position (knot)d - value
java.lang.IllegalArgumentException - if the parameter i is negativepublic void setValues(double[] v)
public LinearSpline derive()
public LinearSpline derive(double a,
double b)
a - left boundary of the intervalb - right boundary of the intervalpublic int dimension()
dimension in class Splinepublic int dimension(int jfin)
dimension in class Splinepublic double[] interpolate(int j)
interpolate in class Splinej - number of iterationspublic double[] evaluate(int jfin)
evaluate in class Spline
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||