jsci.maths.wavelet
Class Sine
- java.lang.Object
-
- jsci.maths.wavelet.MultiscaleFunction
-
- jsci.maths.wavelet.Sine
-
- All Implemented Interfaces:
- java.lang.Cloneable, NumericalConstants
public final class Sine extends MultiscaleFunction implements NumericalConstants, java.lang.Cloneable
This class is used to be able to mix the wavelet and sine transforms. It is in fact a normalised sine.
-
-
Field Summary
-
Fields inherited from interface jsci.maths.NumericalConstants
GAMMA, GOLDEN_RATIO, LOG10, SQRT2, SQRT2PI, TWO_PI
-
-
Constructor Summary
Constructors Constructor and Description Sine(int N0, int FREQ)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.Objectclone()Return a copy of this objectintdimension()Tells you how many samples you'll get from this functionintdimension(int jfin)Tells you how many samples you'll get from this function (will not depend on the parameter)booleanequals(java.lang.Object a)Check if another object is equal to this Sine objectdouble[]evaluate()Return as an array the sampled values of the functiondouble[]evaluate(int j)Return as an array the sampled values of the functionintgetFilterType()This method is used to compute how the number of scaling functions changes from on scale to the other.intgetFrequency()doublemass(double a, double b, int jfin)Compute the mass (integral)java.lang.StringtoString()Return a String representation of the object-
Methods inherited from class jsci.maths.wavelet.MultiscaleFunction
mass
-
-
-
-
Method Detail
-
toString
public java.lang.String toString()
Return a String representation of the object- Specified by:
toStringin classMultiscaleFunction
-
equals
public boolean equals(java.lang.Object a)
Check if another object is equal to this Sine object- Specified by:
equalsin classMultiscaleFunction
-
getFrequency
public int getFrequency()
-
evaluate
public double[] evaluate()
Return as an array the sampled values of the function
-
dimension
public int dimension(int jfin)
Tells you how many samples you'll get from this function (will not depend on the parameter)- Specified by:
dimensionin classMultiscaleFunction
-
dimension
public int dimension()
Tells you how many samples you'll get from this function- Specified by:
dimensionin classMultiscaleFunction
-
clone
public java.lang.Object clone()
Return a copy of this object- Overrides:
clonein classMultiscaleFunction
-
evaluate
public double[] evaluate(int j)
Return as an array the sampled values of the function- Specified by:
evaluatein classMultiscaleFunction- Parameters:
j- number of iterations (doesn't do anything)
-
mass
public double mass(double a, double b, int jfin)Compute the mass (integral)- Overrides:
massin classMultiscaleFunction- Parameters:
a- left boundary of the intervalb- right boundary of the intervaljfin- number of iterations to consider (precision)
-
getFilterType
public int getFilterType()
This method is used to compute how the number of scaling functions changes from on scale to the other. Basically, if you have k scaling function and a filter of type t, you'll have 2*k+t scaling functions at the next scale (dyadic case). Notice that this method assumes that one is working with the dyadic grid while the method "previousDimension" define in the interface "filter" doesn't.- Specified by:
getFilterTypein classMultiscaleFunction
-
-
DMelt 3.0 © DataMelt by jWork.ORG