1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab 2// Copyright (C) 2008-2009 - INRIA - Michael Baudin 3// Copyright (C) 2009-2010 - DIGITEO - Michael Baudin 4// 5// Copyright (C) 2012 - 2016 - Scilab Enterprises 6// 7// This file is hereby licensed under the terms of the GNU GPL v2.0, 8// pursuant to article 5.3.4 of the CeCILL v.2.1. 9// This file was originally licensed under the terms of the CeCILL v2.1, 10// and continues to be available under such terms. 11// For more information, see the COPYING file which you should have received 12// along with this program. 13 14// 15// optimsimplex_getallfv -- 16// Returns all the function values of all the vertices, 17// as a column vector. 18// The function value of vertex #k is stored in fv(k) 19// with k = 1 , nbve 20// Arguments 21// <no arg> 22// 23function fv = optimsimplex_getallfv ( this ) 24 if typeof(this) <> "TSIMPLEX" then 25 error(msprintf(gettext("%s: Wrong type for input argument #%d: TSIMPLEX expected.\n"), "optimsimplex_getallfv", 1)); 26 end 27 fv = this.fv ( 1:this.nbve , 1 ) 28endfunction 29