Changeset 9556 for trunk/psLib/src/math/psMinimizeLMM.c
- Timestamp:
- Oct 13, 2006, 2:15:47 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psMinimizeLMM.c (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psMinimizeLMM.c
r9540 r9556 10 10 * @author EAM, IfA 11 11 * 12 * @version $Revision: 1.2 2$ $Name: not supported by cvs2svn $13 * @date $Date: 2006-10-1 3 22:04:58$12 * @version $Revision: 1.23 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2006-10-14 00:15:47 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 117 117 if (false == psMatrixGJSolve(Alpha, Beta)) { 118 118 // psError(PS_ERR_UNKNOWN, false, "singular matrix in Guess ABP\n"); 119 psTrace ( __func__, 4, "singular matrix in Guess ABP\n");119 psTrace ("psLib.math", 4, "singular matrix in Guess ABP\n"); 120 120 return(false); 121 121 } … … 158 158 psMinimizeLMChi2Func func) 159 159 { 160 psTrace("psLib.math", 3, "---- %s() begin ----\n", __func__);160 psTrace("psLib.math", 3, "---- begin ----\n"); 161 161 // allocate internal arrays (current vs Guess) 162 162 psImage *alpha = psImageAlloc (params->n, params->n, PS_TYPE_F64); … … 335 335 psMinimizeLMChi2Func func) 336 336 { 337 psTrace("psLib.math", 3, "---- %s() begin ----\n", __func__);337 psTrace("psLib.math", 3, "---- begin ----\n"); 338 338 PS_ASSERT_PTR_NON_NULL(min, false); 339 339 // XXX: If covar not NULL, do asserts... … … 414 414 p_psVectorPrint(psTraceGetDestination(), params, "params guess (0)"); 415 415 } 416 if (psTraceGetLevel ( __func__) >= 6) {416 if (psTraceGetLevel ("psLib.math.psMinimizeLMChi2") >= 6) { 417 417 psTrace("psLib.math", 6, "The current Param vector: \n"); 418 418 for (psS32 i = 0 ; i < Params->n ; i++) { … … 444 444 } 445 445 if (psTraceGetLevel("psLib.math") >= 6) { 446 if (psTraceGetLevel ( __func__) >= 6) {446 if (psTraceGetLevel ("psLib.math") >= 6) { 447 447 psTrace("psLib.math", 6, "The current Param vector: \n"); 448 448 for (psS32 i = 0 ; i < Params->n ; i++) { … … 495 495 if (!p_psMinLM_GuessABP(covar, Beta, Params, alpha, beta, params, paramMask, 496 496 paramDelta, paramMin, paramMax, 0.0)) { 497 psTrace ( __func__, 5, "failure to calculate covariance matrix\n");497 psTrace ("psLib.math", 5, "failure to calculate covariance matrix\n"); 498 498 } 499 499 } … … 509 509 } 510 510 if (min->iter == min->maxIter) { 511 psTrace("psLib.math", 3, "---- %s(false) end ----\n", __func__);511 psTrace("psLib.math", 3, "---- end (false) ----\n"); 512 512 return(false); 513 513 } 514 psTrace("psLib.math", 3, "---- %s(true) end ----\n", __func__);514 psTrace("psLib.math", 3, "---- end (true) ----\n"); 515 515 return(true); 516 516 }
Note:
See TracChangeset
for help on using the changeset viewer.
