public static interface MinConGenLin.Gradient extends MinConGenLin.Function
Modifier and Type | Method and Description |
---|---|
void |
gradient(double[] x,
double[] g)
Public interface for the user-supplied function to compute the gradient at point
x . |
f
void gradient(double[] x, double[] g)
x
.x
- a double
array, the point at which the
gradient is evaluated. x.length
equals the number of variables.g
- a double
array, the values of the gradient of the
objective function.Copyright © 2020 Rogue Wave Software. All rights reserved.