Changeset 10730
- Timestamp:
- Dec 14, 2006, 9:12:05 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psStats.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psStats.c
r10550 r10730 13 13 * use ->min and ->max (PS_STAT_USE_RANGE) 14 14 * 15 * @version $Revision: 1.19 4$ $Name: not supported by cvs2svn $16 * @date $Date: 2006-12- 08 11:38:54$15 * @version $Revision: 1.195 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2006-12-14 19:12:05 $ 17 17 * 18 18 * Copyright 2006 IfA, University of Hawaii … … 626 626 psTrace("psLib.math", 5, "All data points have the same value: %f.\n", min); 627 627 stats->robustMedian = min; 628 stats->robustStdev = 0.0; 628 629 stats->robustUQ = min; 629 630 stats->robustLQ = min; … … 631 632 psFree(statsMinMax); 632 633 634 stats->results |= PS_STAT_ROBUST_MEDIAN; 635 stats->results |= PS_STAT_ROBUST_STDEV; 636 stats->results |= PS_STAT_ROBUST_QUARTILE; 637 633 638 psTrace("psLib.math", 4, "---- %s(0) end ----\n", __func__); 634 639 psFree(mask); 635 return false;640 return true; 636 641 } 637 642 … … 873 878 } 874 879 880 stats->results |= PS_STAT_ROBUST_QUARTILE; 875 881 stats->robustLQ = binLo25F32; 876 882 stats->robustUQ = binHi25F32;
Note:
See TracChangeset
for help on using the changeset viewer.
