public static class RadialBasis.Gaussian extends Object implements RadialBasis.Function
Constructor and Description |
---|
Gaussian(double a)
Creates a Gaussian basis function \(e^{-ax^2}\).
|
Modifier and Type | Method and Description |
---|---|
double |
f(double x)
A Gaussian basis function.
|
double |
g(double x)
The derivative of the Gaussian basis function used to calculate the
gradient of the radial basis approximation. |
public Gaussian(double a)
a
- a double
specifying the value of the
function parameter. Decreasing the Gaussian parameter decreases
fitting-error but may increase computational effort.public double f(double x)
f
in interface RadialBasis.Function
x
- a double
, the point at which the function
is to be evaluateddouble
, the value of the function at xpublic double g(double x)
gradient
of the radial basis approximation.g
in interface RadialBasis.Function
x
- a double
, the point at which the function
is to be evaluateddouble
, the value of the function at xCopyright © 2020 Rogue Wave Software. All rights reserved.