|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ParametricRealFunction
An interface representing a real function that depends on one independent variable plus some extra parameters.
Method Summary | |
---|---|
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. |
Method Detail |
---|
double value(double x, double[] parameters) throws FunctionEvaluationException
x
- the point for which the function value should be computedparameters
- function parameters
FunctionEvaluationException
- if the function evaluation failsdouble[] gradient(double x, double[] parameters) throws FunctionEvaluationException
x
- the point for which the function value should be computedparameters
- function parameters
FunctionEvaluationException
- if the function evaluation fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |