public class DiscreteFunction extends MultiscaleFunction implements java.lang.Cloneable
Modifier | Constructor and Description |
---|---|
protected |
DiscreteFunction() |
|
DiscreteFunction(double[] v) |
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
DiscreteFunction object
|
double[] |
evaluate()
Return as an array the sampled values
of the function
|
double[] |
evaluate(int j1)
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 |
mass(double a,
double b,
int jfin)
Compute the mass (integral)
|
double |
norm()
Compute the L2 norm of the
signal
|
double |
norm(int j)
Compute the L2 norm of the
function
|
void |
normalize()
Makes the L2 norm of the
internal array equal to 1.
|
void |
setData(double[] v) |
java.lang.String |
toString()
Return a String representation
of the object
|
mass
protected DiscreteFunction()
public DiscreteFunction(double[] v)
public java.lang.String toString()
toString
in class MultiscaleFunction
public void normalize()
public void setData(double[] v)
public double[] evaluate()
public boolean equals(java.lang.Object a)
equals
in class MultiscaleFunction
public double[] evaluate(int j1)
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 double norm()
public double norm(int j)
j
- number of iterationspublic java.lang.Object clone()
clone
in class MultiscaleFunction
public int dimension(int jfin)
dimension
in class MultiscaleFunction
public int dimension()
dimension
in class MultiscaleFunction
public int getFilterType()
getFilterType
in class MultiscaleFunction