public class ExponentialWeightFunction extends RadialWeightFunction
RadialWeightFunction.RadialWeightFunctionType
Modifier and Type | Field and Description |
---|---|
int |
DEFAULT_EXPONENT |
double |
DEFAULT_RADIUS |
double |
DEFAULT_VARIANCE |
center, myRadius
Constructor and Description |
---|
ExponentialWeightFunction(Point3d x) |
ExponentialWeightFunction(Point3d x,
double rho) |
ExponentialWeightFunction(Point3d x,
double rho,
int k,
double s2) |
Modifier and Type | Method and Description |
---|---|
ExponentialWeightFunction |
clone() |
double |
eval(double r2) |
double |
eval(Vector3d deriv,
Vector3d pnt)
Evaluates this function for the specified inputs.
|
double |
evalDerivative(double x,
double y,
double z,
int dx,
int dy,
int dz)
Evaluates 1st and 2nd order derivatives, one at a time.
|
double |
evalDerivative(Point3d in,
int[] derivatives)
Evaluates 1st and 2nd order derivatives, one at a time.
|
int |
getExponent() |
RadialWeightFunction.RadialWeightFunctionType |
getType() |
double |
getVariance() |
void |
setExponent(int k) |
void |
setRadius(double rho) |
void |
setVariance(double c2) |
computeCentroid, computeIntersectionCentroid, computeIntersectionCentroid, createWeightFunction, eval, eval, eval, getCenter, getIntersectionVolume, getIntersectionVolume, getRadius, inputSize, intersects, intersects, isInDomain, setCenter, updateBounds
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
eval
public double DEFAULT_VARIANCE
public int DEFAULT_EXPONENT
public double DEFAULT_RADIUS
public ExponentialWeightFunction(Point3d x)
public ExponentialWeightFunction(Point3d x, double rho)
public ExponentialWeightFunction(Point3d x, double rho, int k, double s2)
public double eval(double r2)
eval
in class RadialWeightFunction
public double eval(Vector3d deriv, Vector3d pnt)
Diff1Function3x1
deriv
is not
null
, the derivative is also computed and returned in this
argument.deriv
- if not null
, returns the derivative valuespnt
- function input valuespublic void setRadius(double rho)
setRadius
in class RadialWeightFunction
public void setExponent(int k)
public int getExponent()
public void setVariance(double c2)
public double getVariance()
public ExponentialWeightFunction clone()
clone
in class RadialWeightFunction
public double evalDerivative(Point3d in, int[] derivatives)
Diff2Function3x1
public double evalDerivative(double x, double y, double z, int dx, int dy, int dz)
Diff2Function3x1
public RadialWeightFunction.RadialWeightFunctionType getType()
getType
in class RadialWeightFunction