nlm0 {gss}R Documentation

Minimizing Univariate Functions on Finite Intervals

Description

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

Usage

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

Arguments

fun Function to be minimized.
range Interval on which the function to be minimized.
prec Desired precision of the solution.

Value

nlm0 returns a list object with the following components.

estimate Minimizer.
minimum Minimum.
evaluations Number of function evaluations.

[Package gss version 1.0-5 Index]