Changeset 1330
- Timestamp:
- Jul 28, 2004, 6:18:31 PM (22 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 2 edited
-
dataManip/psStats.c (modified) (3 diffs)
-
math/psStats.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/dataManip/psStats.c
r1329 r1330 29 29 #define true 1 30 30 #define false 0 31 #define MY MAXFLOAT HUGE31 #define MY_MAX_FLOAT HUGE 32 32 #define MAX_ITERATIONS 20 33 33 … … 268 268 { 269 269 int i = 0; // Loop index variable 270 float max = -MY MAXFLOAT; // The calculated maximum270 float max = -MY_MAX_FLOAT; // The calculated maximum 271 271 float rangeMin = 0.0; // Exclude data below this 272 272 float rangeMax = 0.0; // Exclude date above this … … 333 333 { 334 334 int i = 0; // Loop index variable 335 float min = MY MAXFLOAT; // The calculated maximum335 float min = MY_MAX_FLOAT; // The calculated maximum 336 336 float rangeMin = 0.0; // Exclude data below this 337 337 float rangeMax = 0.0; // Exclude date above this -
trunk/psLib/src/math/psStats.c
r1329 r1330 21 21 /* DEFINE STATEMENTS */ 22 22 /*****************************************************************************/ 23 #define DEFAULT_ROBUST_SIZE_THRESHOLD 30000 // Vectors that are large than this24 23 // will use robust statistical methods. 25 24 #define GAUSS_WIDTH 20 // The width of the Gaussian or boxcar smoothing. … … 1584 1583 newStruct->sampleUQ = NAN; 1585 1584 newStruct->sampleLQ = NAN; 1586 newStruct->sampleLimit = DEFAULT_ROBUST_SIZE_THRESHOLD;1585 newStruct->sampleLimit = 30000; 1587 1586 newStruct->robustMean = NAN; 1588 1587 newStruct->robustMedian = NAN;
Note:
See TracChangeset
for help on using the changeset viewer.
