nlm0: Minimizing Univariate Functions on Finite Intervals

View source: R/nlm0.R

nlm0R 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 elements.

estimate

Minimizer.

minimum

Minimum.

evaluations

Number of function evaluations.


gss documentation built on Oct. 12, 2024, 1:08 a.m.

Related to nlm0 in gss...