Package com.imsl.test.example.math
Class RadialBasisEx3
java.lang.Object
com.imsl.test.example.math.RadialBasisEx3
Approximates a function using a Hardy multiquadric radial basis function.
Data is generated from the function $$e^\frac{y}{2.0}\sin{x}\cos\frac{y}{2.0}$$ where a number of (x,y) pairs make up a set of randomly chosen points. Random noise is added to the values, a Hardy multiquadric radial basis function is specified \(\sqrt{r^2+\delta^2}\) and a radial basis approximation of the noisy data is computed. The radial basis fit is then compared to the original function at another set of randomly chosen points. Both the average normalized error and the maximum normalized error are computed and printed.In this example, the parameter of the Hardy multiquadric radial basis function \(\delta = 5.5\). The function is sampled at 100 random points and the error is computed at 10000 random points.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RadialBasisEx3
public RadialBasisEx3()
-
-
Method Details
-
main
-