public class GradientFunction extends Object implements MultivariateVectorFunction
The vectorial components of the function represent the derivatives with respect to each function parameters.
Constructor and Description |
---|
GradientFunction(MultivariateDifferentiableFunction f)
Simple constructor.
|
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 © 2003-2013 Apache Software Foundation. All Rights Reserved.