|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JSci.maths.wavelet.MultiscaleFunction JSci.maths.wavelet.splines.Spline JSci.maths.wavelet.splines.PiecewiseConstant
This class is used to generate piecewise constant 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[] |
vg
|
Constructor Summary | |
PiecewiseConstant()
|
|
PiecewiseConstant(double[] v)
|
Method Summary | |
java.lang.Object |
clone()
Return a copy of this object |
SumOfDiracs |
derive()
compute the derivative of the function - useful for numerical analysis |
SumOfDiracs |
derive(double a,
double b)
compute the derivative of the function - useful for numerical analysis |
int |
dimension()
Number of knots |
int |
dimension(int j)
Number of knots after j iterations |
boolean |
equals(java.lang.Object a)
Check if another object is equal to this PiecewiseConstant 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. |
double |
mass(double a,
double b)
Compute the mass (integral) |
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
Constructor Detail |
public PiecewiseConstant(double[] v)
public PiecewiseConstant()
Method Detail |
public java.lang.String toString()
toString
in class Spline
public boolean equals(java.lang.Object a)
equals
in class Spline
public int getFilterType()
getFilterType
in class Spline
public int previousDimension(int k)
previousDimension
in interface Filter
public double[] lowpass(double[] v, double[] param)
lowpass
in interface Filter
param
- a parameter for the filterpublic double[] highpass(double[] v, double[] param)
highpass
in interface Filter
param
- a parameter for the filterpublic double[] lowpass(double[] gete)
lowpass
in interface Filter
public double[] highpass(double[] gete)
highpass
in interface Filter
public java.lang.Object clone()
clone
in class Spline
public 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 setValues(double[] v)
public double mass(double a, double b)
a
- left boundary of the intervalb
- right boundary of the intervalpublic void setValue(int i, double d)
i
- position (knot)d
- value
java.lang.IllegalArgumentException
- if the parameter i is negativepublic SumOfDiracs derive()
public SumOfDiracs derive(double a, double b)
a
- left boundary of the intervalb
- right boundary of the intervalpublic int dimension()
dimension
in class Spline
public int dimension(int j)
dimension
in class Spline
j
- number of iterationspublic double[] interpolate(int j)
interpolate
in class Spline
j
- 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 |