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.getall
Get all the coordinates and the function values of all the vertices.
optimsimplex.getallfv
Get all the function values of all the vertices.
optimsimplex.getallx
Get all the coordinates of all the vertices.
optimsimplex.getfv
Get the function value at a given index.
optimsimplex.getn
Get the dimension of the space of the simplex.
optimsimplex.getnbve
Get the number of vertices of the simplex.
optimsimplex.getve
Get the vertex at a given index in the current simplex.
optimsimplex.getx
Get 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.getall
Return 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.getallfv
Return a row vector of function values, which k^th element is the function value for the vertex k, with k = 1 to nbve.
optimsimplex.getallx
Return 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.getfv
Return a numeric scalar.
optimsimplex.getn
Return a numeric scalar.
optimsimplex.getnbve
Return a numeric scalar.
optimsimplex.getve
Return 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.