These functions compute the value of the function at the vertices points
stored in the current simplex object and stored them back into the simplex
optimsimplex.computefv determines how many vertices are stored
in the simplex object and delegates the calculation of the function values to
The current simplex object, containing the nbve x n matrix of
vertice coordinates (i.e.
The function to compute at vertices. The function is expected to have the following input and output arguments:
where x is a row vector and this a user-defined data, i.e. the
A user-defined data passed to the function. If data is provided,
it is passed to the callback function both as an input and output argument.
A vector of increasing integers from 1 to nbve.
optimsimplex.compsomefv return a
list with the following elements:
The updated simplex object.
The updated user-defined data.
Author of Scilab optimsimplex module: Michael Baudin (INRIA - Digiteo)
Author of R adaptation: Sebastien Bihorel (email@example.com)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.