public final class FastGaussian extends Object implements ParametrizedFunction, Serializable

is a constant defined by user. The default
value is equal to 1.0.
exp(x) function.
For more information, see
this paper.| Modifier and Type | Field and Description |
|---|---|
static double |
DEFAULT_PARAM |
| Constructor and Description |
|---|
FastGaussian() |
FastGaussian(double param) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Two functions are equal if they return the same values for all possible
arguments.
|
double |
getDeriv(double arg)
Returns a value of the first derivative of the function for the given
argument.
|
double |
getParam()
Returns the sigma parameter.
|
double |
getValue(double arg)
Returns a value of the function for the given argument.
|
boolean |
hasDeriv()
Returns
true if the function is differentiable. |
int |
hashCode() |
void |
setParam(double param)
Sets the sigma parameter.
|
String |
toString() |
public static final double DEFAULT_PARAM
public FastGaussian()
public FastGaussian(double param)
public double getParam()
getParam in interface ParametrizedFunctionpublic void setParam(double param)
setParam in interface ParametrizedFunctionparam - sigmapublic double getValue(double arg)
Functionpublic double getDeriv(double arg)
Functionpublic boolean hasDeriv()
Functiontrue if the function is differentiable.public boolean equals(Object obj)
Copyright © 2012. All Rights Reserved.