Package com.imsl.math
Class RadialBasis.HardyMultiquadric
java.lang.Object
com.imsl.math.RadialBasis.HardyMultiquadric
- All Implemented Interfaces:
RadialBasis.Function
- Enclosing class:
- RadialBasis
The Hardy multiquadric basis function, \(\sqrt{r^2+\delta^2}
\).
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHardyMultiquadric(double delta) Creates a Hardy multiquadric basis function \(\sqrt{r^2+ \delta^2}\). -
Method Summary
-
Constructor Details
-
HardyMultiquadric
public HardyMultiquadric(double delta) Creates a Hardy multiquadric basis function \(\sqrt{r^2+ \delta^2}\).- Parameters:
delta- adoublespecifying the value of the function parameter. Increasing the multiquadric parameter decreases fitting-error but generally increases computational effort. The default value is 1.0.
-
-
Method Details
-
f
public double f(double x) A Hardy multiquadric basis function.- Specified by:
fin interfaceRadialBasis.Function- Parameters:
x- adouble, the point at which the function is to be evaluated- Returns:
- a
double, the value of the function at x
-
g
public double g(double x) The derivative of the Hardy multiquadric basis function used to calculate thegradientof the radial basis approximation.- Specified by:
gin interfaceRadialBasis.Function- Parameters:
x- adouble, the point at which the function is to be evaluated- Returns:
- a
double, the value of the function at x
-