private static class HarmonicFitter.ParametricHarmonicFunction extends java.lang.Object implements ParametricRealFunction
| Modifier | Constructor and Description |
|---|---|
private |
ParametricHarmonicFunction() |
| Modifier and Type | Method and Description |
|---|---|
double[] |
gradient(double x,
double[] parameters)
Compute the gradient of the function with respect to its parameters.
|
double |
value(double x,
double[] parameters)
Compute the value of the function.
|
public double value(double x,
double[] parameters)
value in interface ParametricRealFunctionx - the point for which the function value should be computedparameters - function parameterspublic double[] gradient(double x,
double[] parameters)
gradient in interface ParametricRealFunctionx - the point for which the function value should be computedparameters - function parametersCopyright (c) 2003-2026 Apache Software Foundation