osimplex {optimsimplex} | R Documentation |
S3 osimplex and vertex classes
Description
These functions support the S3 classes 'osimplex' and 'vertex'. They are intended to either create objects of these classes or check if an object is of these classes
Usage
osimplex(verbose,x,n,fv,nbve)
vertex(x,n,fv)
## S3 method for class 'osimplex'
print(x,...)
## S3 method for class 'vertex'
print(x,...)
## S3 method for class 'osimplex'
is(x)
## S3 method for class 'vertex'
is(x)
Arguments
verbose |
The verbose option, controlling the amount of messages |
x |
The coordinates of the vertices, with size nbve x n in a simplex object or 1 x n in a vertex. |
n |
The dimension of the space. |
fv |
The values of the function at given vertices. It is a column matrix of length nbve in a simplex or a single value in a vertex. |
nbve |
The number of vertices in a simplex. |
... |
optional arguments to 'print' or 'plot' methods. |
Details
A simplex of size n x nbve is essentially a collection of vertex of size n.
Value
osimplex
returns a list with the following elements: verbose, x, n, fv,
and nbve.
vertex
returns a list with the following elements: x, n, and fv.
Author(s)
Author of Scilab optimsimplex module: Michael Baudin (INRIA - Digiteo)
Author of R adaptation: Sebastien Bihorel (sb.pmlab@gmail.com)