Changeset 1107 for trunk/psLib/src/dataManip/psMinimize.c
- Timestamp:
- Jun 25, 2004, 3:12:22 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/dataManip/psMinimize.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/dataManip/psMinimize.c
r1103 r1107 193 193 gsl_matrix *J) 194 194 { 195 return 0; 195 196 gsl_function_f(x, params, f); 196 197 gsl_function_df(x, params, J); … … 230 231 gsl_multifit_fdfsolver *s; // GSL data structure. 231 232 232 // inputData = (psModelData *) psAlloc(sizeof(psModelData));233 233 psModelData inputData; 234 234 inputData.n = numData; … … 293 293 s = gsl_multifit_fdfsolver_alloc(T, numData, inputData.count); 294 294 295 printf("HERE 04 \n");295 printf("HERE 04 (HMMM)\n"); 296 296 // Initialize the GSL minimizer to use function defined by the data 297 297 // structure "f" and x.vector as an initial guess for the parameters. 298 psMemCheckCorruption(1); 299 printf("HERE 05 (HMMM)\n"); 298 300 gsl_multifit_fdfsolver_set(s, &f, &x.vector); 299 300 301 printf("HERE 05\n");302 301 // Each iteration of the following loop will perform one step in an 303 302 // attempt to minimized chi-squared for the function. The loop exits 304 303 // either when the change in parameters is small enough, or when the 305 304 // maximum number of iterations is reached. 305 printf("HERE 06.0\n"); 306 306 do { 307 307 iter++;
Note:
See TracChangeset
for help on using the changeset viewer.
