org.encog.mathutil.rbf
Class MultiquadricFunction
- java.lang.Object
-
- org.encog.mathutil.rbf.BasicRBF
-
- org.encog.mathutil.rbf.MultiquadricFunction
-
- All Implemented Interfaces:
- java.io.Serializable, RadialBasisFunction
public class MultiquadricFunction extends BasicRBF
Multi-dimensional Multiquadric function. Do not use this to implement a 1d function, simply use MultiquadricFunction for that.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description MultiquadricFunction(double peak, double[] center, double width)Construct a multi-dimension Multiquadric function with the specified peak, centers and widths.MultiquadricFunction(double center, double peak, double width)Construct a single-dimension Multiquadric function with the specified peak, centers and widths.MultiquadricFunction(int dimensions)Create centered at zero, width 0, and peak 0.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublecalculate(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
-
-
-
-
Constructor Detail
-
MultiquadricFunction
public MultiquadricFunction(double center, double peak, double width)Construct a single-dimension 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.
-
MultiquadricFunction
public MultiquadricFunction(double peak, double[] center, double width)Construct a multi-dimension 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.
-
MultiquadricFunction
public MultiquadricFunction(int dimensions)
Create centered at zero, width 0, and peak 0.- Parameters:
dimensions- The dimensions.
-
-
DMelt 3.0 © DataMelt by jWork.ORG