Changeset 7182
- Timestamp:
- May 23, 2006, 11:04:51 AM (20 years ago)
- Location:
- trunk/psLib/test/math
- Files:
-
- 2 edited
-
tst_psMinimizeLMM.c (modified) (1 diff)
-
verified/tst_psMinimizeLMM.stdout (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/math/tst_psMinimizeLMM.c
r7181 r7182 110 110 } else { 111 111 printf("Minimisation took %d iterations\n", min->iter); 112 printf("chi^2 at the minimum is % f\n", min->value);112 printf("chi^2 at the minimum is %.3g\n", min->value); 113 113 for (long i = 0; i < NUM_PARAMS; i++) { 114 printf("Parameter %ld at the minimum is % f, expected: %f\n", i,114 printf("Parameter %ld at the minimum is %.3f, expected: %f\n", i, 115 115 params->data.F32[i], trueParams->data.F32[i]); 116 116 fflush(stdout); -
trunk/psLib/test/math/verified/tst_psMinimizeLMM.stdout
r7181 r7182 1 1 Minimisation took 17 iterations 2 chi^2 at the minimum is 1.1 278713 Parameter 0 at the minimum is 107.844 078, expected: 100.0000004 Parameter 1 at the minimum is 2.96 1946, expected: 3.0000005 Parameter 2 at the minimum is 9.881 010, expected: 10.0000002 chi^2 at the minimum is 1.13 3 Parameter 0 at the minimum is 107.844, expected: 100.000000 4 Parameter 1 at the minimum is 2.962, expected: 3.000000 5 Parameter 2 at the minimum is 9.881, expected: 10.000000 6 6 Mean relative difference is -0.006533 7 7 The LMM minimization tests PASSED.
Note:
See TracChangeset
for help on using the changeset viewer.
