Package com.imsl.math

Class RadialBasis.Gaussian

java.lang.Object
com.imsl.math.RadialBasis.Gaussian
All Implemented Interfaces:
RadialBasis.Function
Enclosing class:
RadialBasis

public static class RadialBasis.Gaussian extends Object implements RadialBasis.Function
The Gaussian basis function, \(e^{-ax^2}\).
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Gaussian(double a)
    Creates a Gaussian basis function \(e^{-ax^2}\).
  • Method Summary

    Modifier and Type
    Method
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Gaussian

      public Gaussian(double a)
      Creates a Gaussian basis function \(e^{-ax^2}\).
      Parameters:
      a - a double specifying 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:
      f in interface RadialBasis.Function
      Parameters:
      x - a double, 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 the gradient of the radial basis approximation.
      Specified by:
      g in interface RadialBasis.Function
      Parameters:
      x - a double, the point at which the function is to be evaluated
      Returns:
      a double, the value of the function at x