Description Usage Arguments Value Author(s) See Also
View source: R/optimsimplex.setall.R
The functions assign content to various elements of a simplex object:
optimsimplex.setallSet all the coordinates and the function values of all the vertices.
optimsimplex.setallfvSet all the function values of all the vertices.
optimsimplex.setallxSet all the coordinates of all the vertices.
optimsimplex.setfvSet the function value at a givenindex.
optimsimplex.setnSet the dimension of the space of the simplex.
optimsimplex.setnbveSet the number of vertices of the simplex.
optimsimplex.setveSet the coordinates of the vertex and the function values at a given index in the current simplex.
optimsimplex.setxSet the coordinates of the vertex at a given index in the current simplex.
1 2 3 4 5 6 7 8 | optimsimplex.setall(this = NULL, simplex = NULL)
optimsimplex.setallfv(this = NULL, fv = NULL)
optimsimplex.setallx(this = NULL, x = NULL)
optimsimplex.setfv(this = NULL, ive = NULL, fv = NULL)
optimsimplex.setn(this = NULL, n = NULL)
optimsimplex.setnbve(this = NULL, nbve = NULL)
optimsimplex.setve(this = NULL, ive = NULL, fv = NULL, x = NULL)
optimsimplex.setx(this = NULL, ive = NULL, x = NULL)
|
this |
A simplex object. |
simplex |
The simplex to set. It is expected to be a nbve x n+1 matrix where n is the dimension of the space, nbve is the number of vertices and with the following content:
|
fv |
A row vector of function values; |
x |
The nbve x n matrix of vertice coordinates; the vertex is expected to
be stored in |
ive |
Vertex index. |
n |
The dimension of the space of the simplex. |
nbve |
The number of vertices of the simplex. |
Return a updated simplex object this.
Author of Scilab optimsimplex module: Michael Baudin (INRIA - Digiteo)
Author of R adaptation: Sebastien Bihorel (sb.pmlab@gmail.com)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.