https://github.com/cran/gss
Raw File
Tip revision: 9924457bfed29635cbc74e54959beb6a433c8123 authored by Chong Gu on 23 September 2004, 00:00:00 UTC
version 0.9-3
Tip revision: 9924457
nlm0.Rd
\name{nlm0}
\alias{nlm0}
\title{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{
    \item{fun}{Function to be minimized.}
    \item{range}{Interval on which the function to be minimized.}
    \item{prec}{Desired precision of the solution.}
}
\value{
    \code{nlm0} returns a list object with the following components.
    \item{estimate}{Minimizer.}
    \item{minimum}{Minimum.}
    \item{evaluations}{Number of function evaluations.}
}
\keyword{math}
back to top