Returns the function value at given index.
fv = optimsimplex_getfv(opt, ive)
The current simplex object of TSIMPLEX type (tlist).
The vertex index.
A scalar, the function value at given index.
The optimsimplex_getfv
function returns the function value at given
index.
simplex = [ 3. 0. 0. 4. 1. 0. 5. 0. 2. ]; s1 = optimsimplex_new (); s1 = optimsimplex_setall ( s1 , simplex ); fv = optimsimplex_getfv(s1, 1); disp(fv) s1 = optimsimplex_destroy(s1); | ![]() | ![]() |