ImageD11.simplex | index /sware/exp/fable/standalone/redhate4-a64/lib/python2.5/site-packages/ImageD11/simplex.py |
Simplex - a regression method for arbitrary nonlinear function minimization
Simplex minimizes an arbitrary nonlinear function of N variables by the
Nelder-Mead Simplex method as described in:
Nelder, J.A. and Mead, R., "A Simplex Method for Function Minimization",
Computer Journal, Vol. 7, 1965, pp. 308-313.
It makes no assumptions about the smoothness of the function being minimized.
It converges to a local minimum which may or may not be the global minimum
depending on the initial guess used as a starting point.
# Copyright (c) 2001 Vivake Gupta (v@omniscia.org). All rights reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA
#
# This software is maintained by Vivake (v@omniscia.org) and is available at:
# http://www.omniscia.org/~vivake/python/Simplex.py
# Modified (debugged?) 7/16/2004 Michele Vallisneri (vallis@vallis.org)
# Copied into ImageD11 by Jon Wright - This works really really well!!!
Modules | ||||||
|
Classes | ||||||||
|
Functions | ||
|