optimsimplex.reflect {optimsimplex} | R Documentation |
Simplex Reflection
Description
This function returns a new simplex by reflection of the current simplex with respect to the first vertex in the simplex. This move is used in the centered simplex gradient.
Usage
optimsimplex.reflect(this = NULL, fun = NULL, data = NULL)
Arguments
this |
An simplex object. | ||||
fun |
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 | ||||
data |
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.
|
Value
Return a list with the following elements:
- r
The reflected simplex object.
- data
The updated user-defined data.
Author(s)
Author of Scilab optimsimplex module: Michael Baudin (INRIA - Digiteo)
Author of R adaptation: Sebastien Bihorel (sb.pmlab@gmail.com)