|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.util.math.rbf.GaussianFunction
public class GaussianFunction
Implements a radial function based on the gaussian function.
| Constructor Summary | |
|---|---|
GaussianFunction(double center,
double peak,
double width)
Construct a Gaussian RBF with the specified center, peak and width. |
|
| Method Summary | |
|---|---|
double |
calculate(double x)
Calculate the value of the Gaussian function for the specified value. |
double |
calculateDerivative(double x)
Calculate the value of the derivative of the Gaussian function for the specified value. |
double |
getCenter()
|
double |
getPeak()
|
double |
getWidth()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GaussianFunction(double center,
double peak,
double width)
center - The center.peak - The peak.width - The width.| Method Detail |
|---|
public double calculate(double x)
calculate in interface RadialBasisFunctionx - The value to calculate the Gaussian function for.
public double calculateDerivative(double x)
calculateDerivative in interface RadialBasisFunctionx - The value to calculate the derivative Gaussian function for.
public double getCenter()
getCenter in interface RadialBasisFunctionpublic double getPeak()
getPeak in interface RadialBasisFunctionpublic double getWidth()
getWidth in interface RadialBasisFunction
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||