|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math3.analysis.differentiation.GradientFunction
public class GradientFunction
Class representing the gradient of a multivariate function.
The vectorial components of the function represent the derivatives with respect to each function parameters.
Field Summary | |
---|---|
private MultivariateDifferentiableFunction |
f
Underlying real-valued function. |
Constructor Summary | |
---|---|
GradientFunction(MultivariateDifferentiableFunction f)
Simple constructor. |
Method Summary | |
---|---|
double[] |
value(double[] point)
Compute the value for the function at the given point. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final MultivariateDifferentiableFunction f
Constructor Detail |
---|
public GradientFunction(MultivariateDifferentiableFunction f)
f
- underlying real-valued functionMethod Detail |
---|
public double[] value(double[] point) throws java.lang.IllegalArgumentException
value
in interface MultivariateVectorFunction
point
- point at which the function must be evaluated
java.lang.IllegalArgumentException
- if points dimension is wrong
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |