Package com.imsl.math

Class RadialBasis.HardyMultiquadric

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

public static class RadialBasis.HardyMultiquadric extends Object implements RadialBasis.Function
The Hardy multiquadric basis function, \(\sqrt{r^2+\delta^2} \).
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    HardyMultiquadric(double delta)
    Creates a Hardy multiquadric basis function \(\sqrt{r^2+ \delta^2}\).
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    f(double x)
    A Hardy multiquadric basis function.
    double
    g(double x)
    The derivative of the Hardy multiquadric 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

    • HardyMultiquadric

      public HardyMultiquadric(double delta)
      Creates a Hardy multiquadric basis function \(\sqrt{r^2+ \delta^2}\).
      Parameters:
      delta - a double specifying 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:
      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 Hardy multiquadric 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