Description Usage Arguments Value Author(s) See Also
View source: R/optimsimplex.getall.R
The functions extract the content to various elements of a simplex object:
optimsimplex.getallGet all the coordinates and the function values of all the vertices.
optimsimplex.getallfvGet all the function values of all the vertices.
optimsimplex.getallxGet all the coordinates of all the vertices.
optimsimplex.getfvGet the function value at a given index.
optimsimplex.getnGet the dimension of the space of the simplex.
optimsimplex.getnbveGet the number of vertices of the simplex.
optimsimplex.getveGet the vertex at a given index in the current simplex.
optimsimplex.getxGet the coordinates of the vertex at a given index in the current simplex.
1 2 3 4 5 6 7 8 | optimsimplex.getall(this = NULL)
optimsimplex.getallfv(this = NULL)
optimsimplex.getallx(this = NULL)
optimsimplex.getfv(this = NULL, ive = NULL)
optimsimplex.getn(this = NULL)
optimsimplex.getnbve(this = NULL)
optimsimplex.getve(this = NULL, ive = NULL)
optimsimplex.getx(this = NULL, ive = NULL)
|
this |
A simplex object. |
ive |
Vertex index. |
optimsimplex.getallReturn 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:
simplex[k,1] is the function value of the vertex k, with k =
1 to nbve,
simplex[k,2:(n+1)] is the coordinates of the vertex k, with
k = 1 to nbve.
optimsimplex.getallfvReturn a row vector of function values, which k^th element is the function value for the vertex k, with k = 1 to nbve.
optimsimplex.getallxReturn a nbve x n matrix of vertice coordinates; any given vertex is expected to be stored at row k, with k = 1 to nbve.
optimsimplex.getfvReturn a numeric scalar.
optimsimplex.getnReturn a numeric scalar.
optimsimplex.getnbveReturn a numeric scalar.
optimsimplex.getveReturn an object of class 'vertex', i.e. a list with the following elements:
The dimension of the space of the simplex.
The coordinates of the vertex at index ive.
The value of the function at index ive.
Return a row vector, representing the coordinates
of the vertex at index ive.
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.