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

Function linmin_fast


\begin{boxedminipage}{\textwidth}
\begin{verbatim}linmin = linmin_fast(x0,fx0,xdir,y, &
epsilon,func)\end{verbatim}
\end{boxedminipage}

Simple (fast, dumb) line minimiser. The func interface is the same as for linmin above.

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

Starting vector

fx0 -- real(dp)

Value of func at x0

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

Direction

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

Result

epsilon -- real(dp)

Initial step

Function func(x) -- real(dp)

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

Return value -- integer

linmin_deriv function

gabor 2009-06-30