LineSearch.__call__¶
-
LineSearch.
__call__
(self, x, direction, dir_derivative)[source]¶ Calculate step length in direction.
- Parameters
- x
LinearSpaceElement
The current point
- direction
LinearSpaceElement
Search direction in which the line search should be computed
- dir_derivativefloat
Directional derivative along the
direction
- x
- Returns
- stepfloat
Computed step length.