|
|||||||||
| 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.SumOfDiracs
public class SumOfDiracs
This class is used to generate sum of Diracs (splines of order 0) to be used as wavelets or related functions. It can also be used for basic interpolation.
| Field Summary | |
|---|---|
protected static int |
filtretype
|
| Constructor Summary | |
|---|---|
SumOfDiracs()
|
|
SumOfDiracs(double[] v)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Return a copy of this object |
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 SumOfDiracs object |
double[] |
evaluate(int j)
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
| Constructor Detail |
|---|
public SumOfDiracs(double[] v)
public SumOfDiracs()
| Method Detail |
|---|
public int getFilterType()
getFilterType in class Splinepublic java.lang.String toString()
toString in class Splinepublic boolean equals(java.lang.Object a)
equals in class Splinepublic java.lang.Object clone()
clone 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 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 interval
public void setValue(int i,
double d)
i - position (knot)d - value
java.lang.IllegalArgumentException - if the parameter i is negativepublic int dimension()
dimension in class Splinepublic int dimension(int j)
dimension in class Splinej - number of iterationspublic double[] interpolate(int j)
interpolate in class Splinej - number of iterationspublic double[] evaluate(int j)
evaluate in class Splinej - number of iterations
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||