simpeg.optimization.SteepestDescent.findSearchDirection#
- SteepestDescent.findSearchDirection()[source]#
Return the direction to search along for a minimum value.
- Returns:
numpy.ndarray
The search direction.
Notes
This should usually return an approximation of:
\[p = - H^{-1} g\]The default is:
\[p = - g\]Corresponding to the steepest descent direction
The latest function evaluations are present in:
self.f, self.g, self.H