|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectJSci.maths.wavelet.MultiscaleFunction
JSci.maths.wavelet.DiscreteFunction
JSci.maths.wavelet.SparseDiscreteFunction
public class SparseDiscreteFunction
| Field Summary | |
|---|---|
DoubleSparseVector |
Data
|
| Constructor Summary | |
|---|---|
SparseDiscreteFunction(double[] v)
|
|
| 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 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 The parameter doesn't do anything. |
void |
normalize()
Makes the L2norm of the internal array=1. |
void |
setData(double[] v)
|
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 |
|---|
public DoubleSparseVector Data
| Constructor Detail |
|---|
public SparseDiscreteFunction(double[] v)
| Method Detail |
|---|
public java.lang.String toString()
toString in class DiscreteFunctionpublic void normalize()
normalize in class DiscreteFunctionpublic void setData(double[] v)
setData in class DiscreteFunctionpublic double[] evaluate()
evaluate in class DiscreteFunctionpublic boolean equals(java.lang.Object a)
equals in class DiscreteFunctionpublic double[] evaluate(int j1)
evaluate in class DiscreteFunctionj - number of iterations (doesn't do anything)
public double mass(double a,
double b,
int jfin)
mass in class DiscreteFunctiona - left boundary of the intervalb - right boundary of the intervaljfin - number of iterations to consider
(precision)public double norm()
norm in class DiscreteFunctionpublic double norm(int j)
norm in class DiscreteFunctionj - number of iterationspublic java.lang.Object clone()
clone in class DiscreteFunctionpublic int dimension(int jfin)
dimension in class DiscreteFunctionpublic int dimension()
dimension in class DiscreteFunctionpublic int getFilterType()
getFilterType in class DiscreteFunction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||