SimPEG.optimization.GaussNewton.scaleSearchDirection#
- GaussNewton.scaleSearchDirection(p)[source]#
scaleSearchDirection should scale the search direction if appropriate.
Set the parameter maxStep in the minimize object, to scale back the gradient to a maximum size.
- Parameters
p (numpy.ndarray) – searchDirection
- Return type
- Returns
p, Scaled Search Direction