Package com.imsl.math
Class RadialBasis.Gaussian
java.lang.Object
com.imsl.math.RadialBasis.Gaussian
- All Implemented Interfaces:
RadialBasis.Function
- Enclosing class:
- RadialBasis
The Gaussian basis function, \(e^{-ax^2}\).
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Gaussian
public Gaussian(double a) Creates a Gaussian basis function \(e^{-ax^2}\).- Parameters:
a- adoublespecifying the value of the function parameter. Decreasing the Gaussian parameter decreases fitting-error but may increase computational effort.
-
-
Method Details
-
f
public double f(double x) A Gaussian 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 Gaussian 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
-