|
|||||||||
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.Cosine
public final class Cosine
This class is used to be able to mix the wavelet and cosine transforms. It is in fact a normalised cosine.
Field Summary | |
---|---|
(package private) double |
tol
|
Fields inherited from interface JSci.maths.NumericalConstants |
---|
GAMMA, GOLDEN_RATIO, LOG10, SQRT2, SQRT2PI, TWO_PI |
Constructor Summary | |
---|---|
Cosine(int N0,
int FREQ)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
Return a copy of this object |
int |
dimension()
Tells you how many samples you'll get from this function |
int |
dimension(int jfin)
Tells you how many samples you'll get from this function (will not depend on the parameter) |
boolean |
equals(java.lang.Object a)
Check if another object is equal to this Cosine object |
double[] |
evaluate()
Return as an array the sampled values of the function |
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. |
int |
getFrequency()
|
double |
mass(double a,
double b,
int jfin)
Compute the mass (integral) |
java.lang.String |
toString()
Return a String representation of the object |
Methods inherited from class JSci.maths.wavelet.MultiscaleFunction |
---|
mass |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
double tol
Constructor Detail |
---|
public Cosine(int N0, int FREQ)
Method Detail |
---|
public java.lang.String toString()
toString
in class MultiscaleFunction
public boolean equals(java.lang.Object a)
equals
in class MultiscaleFunction
public int getFrequency()
public double[] evaluate()
public int dimension(int jfin)
dimension
in class MultiscaleFunction
public int dimension()
dimension
in class MultiscaleFunction
public java.lang.Object clone()
clone
in class MultiscaleFunction
public double[] evaluate(int j)
evaluate
in class MultiscaleFunction
j
- number of iterations (doesn't do anything)public double mass(double a, double b, int jfin)
mass
in class MultiscaleFunction
a
- left boundary of the intervalb
- right boundary of the intervaljfin
- number of iterations to consider
(precision)public int getFilterType()
getFilterType
in class MultiscaleFunction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |