public class BasisFunctionLibrary
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected DiscreteFunction |
DFunction |
protected DiscreteFunction[] |
Fdual |
protected DiscreteFunction[] |
Fprimary |
Modifier | Constructor and Description |
---|---|
protected |
BasisFunctionLibrary() |
|
BasisFunctionLibrary(DiscreteFunction f) |
Modifier and Type | Method and Description |
---|---|
protected static double[][] |
add(double[][] v,
double[][] w) |
void |
add(Multiresolution mr)
Attempt to add every possible functions belonging
to a multiresolution.
|
void |
add(MultiscaleFunction f)
Add the MultiscaleFunction to both the primary
and dual internal arrays.
|
void |
add(MultiscaleFunction[] f)
Add the array of MultiscaleFunction to both
the primary and dual internal arrays.
|
void |
add(MultiscaleFunction fprimary,
MultiscaleFunction fdual)
Add a clone of the given MultiscaleFunctions
to the internal arrays of MultiscaleFunctions.
|
double[] |
checkBiorthogonality()
Checks whether whether or not the
biorthogonality is satisfied
If so, the return array should
roughly be
filled with ones.
|
java.lang.Object |
clone() |
protected static DiscreteFunction[] |
cloneArrayDiscreteFunction(MultiscaleFunction[] a)
Clone an arry of DiscreteFunction.
|
DiscreteFunction |
getData()
get a copy of the data object
(no direct access)
|
DiscreteFunction |
getDual(int k) |
double |
getMorseThreshold() |
DiscreteFunction |
getPrimary(int k) |
double |
getResidue(int k) |
double[] |
getResidues() |
int |
getSize()
We will now attempt to match
each MultiscaleFunction to the length
of the data.
|
double |
getWeigth(int k) |
double[] |
getWeigths() |
void |
includeFourier() |
void |
includeMasslessFourier() |
double |
norm() |
protected static double |
norm(double a,
double b) |
void |
setData(DiscreteFunction f)
Allows the user to change the
DiscreteFunction (see constructor).
|
void |
setMorseThreshold(double p) |
protected DiscreteFunction[] Fprimary
protected DiscreteFunction[] Fdual
protected DiscreteFunction DFunction
protected BasisFunctionLibrary()
public BasisFunctionLibrary(DiscreteFunction f)
public java.lang.Object clone()
clone
in class java.lang.Object
public void setMorseThreshold(double p)
public double getMorseThreshold()
public void includeFourier()
public void includeMasslessFourier()
public DiscreteFunction getPrimary(int k)
public DiscreteFunction getDual(int k)
public void setData(DiscreteFunction f)
java.lang.IllegalArgumentException
- if you
try to change the number of data values
(dimension of the DiscreteFunction)public DiscreteFunction getData()
protected static DiscreteFunction[] cloneArrayDiscreteFunction(MultiscaleFunction[] a)
public void add(MultiscaleFunction fprimary, MultiscaleFunction fdual)
public void add(MultiscaleFunction f)
public void add(MultiscaleFunction[] f)
public void add(Multiresolution mr)
public double[] getResidues()
public double getResidue(int k)
public double[] getWeigths()
public double getWeigth(int k)
public double norm()
public int getSize()
protected static double norm(double a, double b)
public double[] checkBiorthogonality()
protected static double[][] add(double[][] v, double[][] w)