\inputencoding{utf8}
\HeaderA{neldermead.function}{Call Cost Function.}{neldermead.function}
\keyword{method}{neldermead.function}
%
\begin{Description}\relax
Simple way to compute the value of the cost function specified in a neldermead
object.
\end{Description}
%
\begin{Usage}
\begin{verbatim}
  neldermead.function(this = NULL, x = NULL)
\end{verbatim}
\end{Usage}
%
\begin{Arguments}
\begin{ldescription}
\item[\code{this}] A neldermead object.
\item[\code{x}] The point estimate where the cost function is to be evaluated.
\end{ldescription}
\end{Arguments}
%
\begin{Value}
Returns the value of the cost function.
\end{Value}
%
\begin{Author}\relax
Author of Scilab neldermead module: Michael Baudin (INRIA - Digiteo)

Author of R adaptation: Sebastien Bihorel (\email{sb.pmlab@gmail.com})
\end{Author}
