next up previous contents index
Next: Function linmin_deriv_iter_simple Up: Module minimization_module Previous: Function linmin_deriv   Contents   Index

Function linmin_deriv_iter


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

Iterative version of linmin_deriv that avoid taking large steps by iterating the extrapolation to zero gradient.

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

linmin_deriv_iter_simple function

gabor 2009-06-30