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

Subroutine n_linmin


\begin{boxedminipage}{\textwidth}
\begin{verbatim}call n_linmin(x,bothfunc,n...
...p_size,accuracy,N_evals,max_N_evals, &
hook)\end{verbatim}
\end{boxedminipage}

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

neg_gradient -- real(dp), intent(in), dimension(:)

E -- real(dp), intent(inout)

search_dir -- real(dp), intent(inout), dimension(:)

new_x -- real(dp), intent(out), dimension(:)

new_neg_gradient -- real(dp), intent(out), dimension(:)

new_E -- real(dp), intent(out)

max_step_size -- real(dp), intent(inout)

accuracy -- real(dp), intent(in)

N_evals -- integer, intent(inout)

max_N_evals -- integer, intent(in)

Subroutine bothfunc(x,E,f,my_error)

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

E -- real(dp)

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

my_error -- integer

Subroutine hook(x,dx,E,done,do_print)

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

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

E -- real(dp)

done -- logical

do_print -- logical, optional

linmin function

gabor 2009-06-30