Interface ParametricRealFunction
- All Known Implementing Classes:
ParametricGaussianFunction
public interface ParametricRealFunction
An interface representing a real function that depends on one independent
variable plus some extra parameters.
-
Method Summary
-
Method Details
-
value
Compute the value of the function.- Parameters:
x
- the point for which the function value should be computedparameters
- function parameters- Returns:
- the value
- Throws:
FunctionEvaluationException
- if the function evaluation fails
-
gradient
Compute the gradient of the function with respect to its parameters.- Parameters:
x
- the point for which the function value should be computedparameters
- function parameters- Returns:
- the value
- Throws:
FunctionEvaluationException
- if the function evaluation fails
-