public interface Gradient
| Modifier and Type | Method and Description |
|---|---|
void |
derivativeAt(double[] x,
double[] grad)
The first-derivative vector (a.k.a. gradient) of a double-valued function
over a double[] array evaluated at the input location
x gets
stored into the output vector grad. |
void derivativeAt(double[] x,
double[] grad)
x gets
stored into the output vector grad.x - a double[] input vector (not modified)grad - a double[] output vector containing the gradient
at location x (modified)Copyright © 2022. All rights reserved.