org.encog.mathutil.rbf
public class GaussianFunction extends BasicRBF
| Constructor and Description |
|---|
GaussianFunction()
Default constructor, used for reflection.
|
GaussianFunction(double peak,
double[] center,
double width)
Construct a multi-dimension Gaussian function with the specified peak,
centers and widths.
|
GaussianFunction(double center,
double peak,
double width)
Construct a single-dimension Gaussian function with the specified peak,
centers and widths.
|
GaussianFunction(int dimensions)
Create centered at zero, width 0, and peak 0.
|
| Modifier and Type | Method and Description |
|---|---|
double |
calculate(double[] x)
Calculate the result from the function.
|
getCenter, getCenters, getDimensions, getPeak, getWidth, setCenters, setPeak, setWidth, toStringpublic GaussianFunction()
public GaussianFunction(double center,
double peak,
double width)
peak - The peak for all dimensions.center - The centers for each dimension.width - The widths for each dimension.public GaussianFunction(double peak,
double[] center,
double width)
peak - The peak for all dimensions.center - The centers for each dimension.width - The widths for each dimension.public GaussianFunction(int dimensions)
dimensions - The number of dimensions.Copyright © 2014. All Rights Reserved.