public static class RadialInterpolator2.WesselBercovici
extends java.lang.Object
For consistency when using the same tension parameter t for different sets of data, distances r should be normalized to be dimensionless. A scale factor s may be specified that divides all distances r, so that the basis function becomes g(r/s). The scale factor suggested by Wessel and Bercovici is s = rmax/50, where rmax is the maximum seperation between points to be interpolated.
See Wessel and Bercovici, 1998, Interpolation with splines in tension: a Green's function approach: Mathematical Geology 30, 77-93.
Constructor and Description |
---|
RadialInterpolator2.WesselBercovici(double tension)
Constructs a basis for the specified tension.
|
RadialInterpolator2.WesselBercovici(double tension,
double scale)
Constructs a basis for the specified tension and scale factor.
|
Modifier and Type | Method and Description |
---|---|
double |
evaluate(double r)
Evaluates this basis function for the specified distance.
|
public RadialInterpolator2.WesselBercovici(double tension)
tension
- the tension; must be in the range [0,1).public RadialInterpolator2.WesselBercovici(double tension, double scale)
tension
- the tension; must be in the range [0,1).scale
- the factor by which to divide distances r.