next up previous contents index
Next: Function damped_md_minim Up: Module minimization_module Previous: Function linmin_deriv_iter   Contents   Index

Function linmin_deriv_iter_simple


\begin{boxedminipage}{\textwidth}
\begin{verbatim}linmin = linmin_deriv_iter...
...,xdir,dx0,y, &
epsilon,dfunc[,do_line_scan])\end{verbatim}
\end{boxedminipage}

Simplified Iterative version of linmin_deriv that avoid taking large steps by iterating the extrapolation to zero gradient. It does not try to reduce the bracketing interval on both sides at every step

x0 -- real(dp), dimension(:)

Starting vector

xdir -- real(dp), dimension(:)

Search direction

dx0 -- real(dp), dimension(:)

Initial gradient

y -- real(dp), dimension(:)

Result

epsilon -- real(dp)

Initial step

do_line_scan -- logical, optional

Function dfunc(x) -- real(dp), dimension(size(x))

x -- real(dp), dimension(:)

Return value -- integer

damped_md_minim function

gabor 2009-06-30