File: nlm0.Rd

package info (click to toggle)
r-cran-gss 2.1-3-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,740 kB
  • ctags: 1,400
  • sloc: fortran: 5,241; ansic: 1,388; makefile: 1
file content (22 lines) | stat: -rw-r--r-- 641 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
\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}