Changeset 3547 for trunk/psLib/src/dataManip/psMinimize.c
- Timestamp:
- Mar 29, 2005, 12:34:59 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/dataManip/psMinimize.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/dataManip/psMinimize.c
r3540 r3547 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1.10 8$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-03-29 19:41:56$11 * @version $Revision: 1.109 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-03-29 22:34:59 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 786 786 // 787 787 if (currChi2 > newChi2) { 788 min->lastDelta = currChi2 - newChi2;788 min->lastDelta = (currChi2 - newChi2)/currChi2; 789 789 min->value = newChi2; 790 790 … … 1406 1406 with an initial guess at the parameters of that function and vector "line" 1407 1407 of the same size as the parameter vector. It will minimize the function 1408 along that vector an rreturns the offset along that vector at which the1408 along that vector and returns the offset along that vector at which the 1409 1409 minimum is determined. 1410 1410 … … 1713 1713 psFree(v); 1714 1714 min->iter = iterationNumber; 1715 // XXX: Ensure that currFuncVal is the correct value to use here. 1716 min->value = currFuncVal; 1715 1717 psTrace(".psLib.dataManip.psMinimizePowell", 4, 1716 1718 "---- psMinimizePowell() end (1)(true) ----\n"); … … 1749 1751 if (fabs(baseFuncVal - currFuncVal) <= min->tol) { 1750 1752 psFree(v); 1753 // XXX: Ensure that currFuncVal is the correct value to use here. 1754 min->value = currFuncVal; 1751 1755 min->iter = iterationNumber; 1752 1756 psTrace(".psLib.dataManip.psMinimizePowell", 4,
Note:
See TracChangeset
for help on using the changeset viewer.
