org.encog.mathutil.rbf
Class InverseMultiquadricFunction

java.lang.Object
  extended by org.encog.mathutil.rbf.BasicRBF
      extended by org.encog.mathutil.rbf.InverseMultiquadricFunction
All Implemented Interfaces:
Serializable, RadialBasisFunction

public class InverseMultiquadricFunction
extends BasicRBF

Multi-dimensional Inverse Multiquadric function.

See Also:
Serialized Form

Constructor Summary
InverseMultiquadricFunction(double peak, double[] center, double width)
          Construct a multi-dimension Inverse-Multiquadric function with the specified peak, centers and widths.
InverseMultiquadricFunction(double center, double peak, double width)
          Construct a single-dimension Inverse-Multiquadric function with the specified peak, centers and widths.
InverseMultiquadricFunction(int dimensions)
          Create centered at zero, width 0, and peak 0.
 
Method Summary
 double calculate(double[] x)
          Calculate the RBF result for the specified value.
 
Methods inherited from class org.encog.mathutil.rbf.BasicRBF
getCenter, getCenters, getDimensions, getPeak, getWidth, setCenters, setPeak, setWidth, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InverseMultiquadricFunction

public InverseMultiquadricFunction(double center,
                                   double peak,
                                   double width)
Construct a single-dimension Inverse-Multiquadric function with the specified peak, centers and widths.

Parameters:
peak - The peak for all dimensions.
center - The centers for each dimension.
width - The widths for each dimension.

InverseMultiquadricFunction

public InverseMultiquadricFunction(double peak,
                                   double[] center,
                                   double width)
Construct a multi-dimension Inverse-Multiquadric function with the specified peak, centers and widths.

Parameters:
peak - The peak for all dimensions.
center - The centers for each dimension.
width - The widths for each dimension.

InverseMultiquadricFunction

public InverseMultiquadricFunction(int dimensions)
Create centered at zero, width 0, and peak 0.

Parameters:
dimensions - The dimensions.
Method Detail

calculate

public final double calculate(double[] x)
Calculate the RBF result for the specified value.

Parameters:
x - The value to be passed into the RBF.
Returns:
The RBF value.


Copyright © 2014. All Rights Reserved.