Provides a means of scaling the length of the search direction vector.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(inout), | dimension(:) | :: | x |
On input, the search direction vector. On output, the search direction vector limited in length to that specified by lim. If the vector is originally shorter than the limit length, no change is made. |
|
| real(kind=real64), | intent(in) | :: | lim |
The length limit value. |