Documentation of 'jsci.maths.wavelet.Sine' Java class
Sine
jsci.maths.wavelet

Class 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.
    • 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.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 Sine 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 java.lang.Object

        getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Sine

        public Sine(int N0,
                    int FREQ)
    • Method Detail

      • toString

        public java.lang.String toString()
        Return a String representation of the object
        Specified by:
        toString in class MultiscaleFunction
      • equals

        public boolean equals(java.lang.Object a)
        Check if another object is equal to this Sine object
        Specified by:
        equals in class MultiscaleFunction
      • 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:
        dimension in class MultiscaleFunction
      • dimension

        public int dimension()
        Tells you how many samples you'll get from this function
        Specified by:
        dimension in class MultiscaleFunction
      • clone

        public java.lang.Object clone()
        Return a copy of this object
        Overrides:
        clone in class MultiscaleFunction
      • evaluate

        public double[] evaluate(int j)
        Return as an array the sampled values of the function
        Specified by:
        evaluate in class MultiscaleFunction
        Parameters:
        j - number of iterations (doesn't do anything)
      • mass

        public double mass(double a,
                           double b,
                           int jfin)
        Compute the mass (integral)
        Overrides:
        mass in class MultiscaleFunction
        Parameters:
        a - left boundary of the interval
        b - right boundary of the interval
        jfin - 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:
        getFilterType in class MultiscaleFunction

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.