Changeset 3000 for trunk/psLib/src/dataManip/psMinimize.c
- Timestamp:
- Jan 14, 2005, 1:27:56 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/dataManip/psMinimize.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/dataManip/psMinimize.c
r2909 r3000 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1.9 8$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-01- 05 20:59:33$11 * @version $Revision: 1.99 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-01-14 23:27:56 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 57 57 input parameter "x" between 0 and input parameter polyOrder. The result is 58 58 returned as a psVector sums. 59 60 59 61 60 XXX: Use a static vector. … … 693 692 deriv->data.F32[n][p]; 694 693 } 695 // XXX: multipl eby -1 here?694 // XXX: multiply by -1 here? 696 695 (beta->data.F64[p])*= -1.0; 697 696 psTrace(".psLib.dataManip.psMinimize", 6, … … 1139 1138 1140 1139 Algorithm: 1141 XXX completely ad hoc: 1142 start with the user-supplied starting 1143 parameter and call that b. Calculate a/c as a fractional amount 1144 smaller/larger than b. Repeat this process until a local minimum is found. 1145 1146 XXX: 1147 new algorithm: 1140 1141 XXX completely ad hoc: 1142 start with the user-supplied starting parameter and 1143 call that b. Calculate a/c as a fractional amount smaller/larger than b. 1144 Repeat this process until a local minimum is found. 1145 1146 XXX: 1147 new algorithm: 1148 1148 start at x=0, expand in one direction until the function 1149 1149 decreases. Then you have two points in the bracket. Keep going until it … … 1151 1151 direction. 1152 1152 1153 XXX: 1153 XXX: 1154 1154 This is F32 only. 1155 1155 1156 XXX: 1156 XXX: 1157 1157 output bracket vector should be an input as well. 1158 1158 *****************************************************************************/
Note:
See TracChangeset
for help on using the changeset viewer.
