org.apache.commons.math3.analysis.differentiation
public class GradientFunction extends Object implements MultivariateVectorFunction
The vectorial components of the function represent the derivatives with respect to each function parameters.
Modifier and Type | Field and Description |
---|---|
private MultivariateDifferentiableFunction |
f
Underlying real-valued function.
|
Constructor and Description |
---|
GradientFunction(MultivariateDifferentiableFunction f)
Simple constructor.
|
private final MultivariateDifferentiableFunction f
public GradientFunction(MultivariateDifferentiableFunction f)
f
- underlying real-valued functionpublic double[] value(double[] point) throws IllegalArgumentException
value
in interface MultivariateVectorFunction
point
- point at which the function must be evaluatedIllegalArgumentException
- if points dimension is wrongCopyright (c) 2003-2013 Apache Software Foundation