Package com.imsl.math
Interface MinConGenLin.Gradient
- All Superinterfaces:
MinConGenLin.Function
- Enclosing class:
- MinConGenLin
Public interface for the user-supplied function to compute the gradient.
-
Method Summary
Modifier and TypeMethodDescriptionvoidgradient(double[] x, double[] g) Public interface for the user-supplied function to compute the gradient at pointx.Methods inherited from interface com.imsl.math.MinConGenLin.Function
f
-
Method Details
-
gradient
void gradient(double[] x, double[] g) Public interface for the user-supplied function to compute the gradient at pointx.- Parameters:
x- adoublearray, the point at which the gradient is evaluated.x.lengthequals the number of variables.g- adoublearray, the values of the gradient of the objective function.
-