nlm0                   package:gss                   R Documentation

_M_i_n_i_m_i_z_i_n_g _U_n_i_v_a_r_i_a_t_e _F_u_n_c_t_i_o_n_s _o_n _F_i_n_i_t_e _I_n_t_e_r_v_a_l_s

_D_e_s_c_r_i_p_t_i_o_n:

     Minimize univariate functions on finite intervals using 3-point
     quadratic fit, with golden-section safe-guard.

_U_s_a_g_e:

     nlm0(fun, range, prec=1e-7)

_A_r_g_u_m_e_n_t_s:

     fun: Function to be minimized.

   range: Interval on which the function to be minimized.

    prec: Desired precision of the solution.

_V_a_l_u_e:

     'nlm0' returns a list object with the following components. 

estimate: Minimizer.

 minimum: Minimum.

evaluations: Number of function evaluations.

