Modifier and Type | Field and Description |
---|---|
protected static int |
filtretype |
Constructor and Description |
---|
QuadraticSpline() |
QuadraticSpline(double[] v) |
Modifier and Type | Method and Description |
---|---|
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
|
mass, mass
protected static final int filtretype
public QuadraticSpline(double[] v)
public QuadraticSpline()
public java.lang.String toString()
public int getFilterType()
getFilterType
in class Spline
public boolean equals(java.lang.Object a)
public int previousDimension(int k)
previousDimension
in interface Filter
public double[] lowpass(double[] v, double[] param)
public double[] highpass(double[] v, double[] param)
public double[] lowpass(double[] gete)
public double[] highpass(double[] gete)
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 setValue(int i, double d)
i
- position (knot)d
- valuejava.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(int jfin)
public double[] interpolate(int j)
interpolate
in class Spline
j
- number of iterations