Changeset 1282
- Timestamp:
- Jul 22, 2004, 1:53:07 PM (22 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 2 edited
-
dataManip/psStats.c (modified) (4 diffs)
-
math/psStats.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/dataManip/psStats.c
r1280 r1282 15 15 #include "psAbort.h" 16 16 #include "psStats.h" 17 #include "ps Sort.h"17 #include "psVectorSort.h" 18 18 #include "psMinimize.h" 19 19 #include "psFunctions.h" … … 475 475 } 476 476 // Sort the temporary vectors. 477 ps Sort(sortedVector, unsortedVector);477 psVectorSort(sortedVector, unsortedVector); 478 478 479 479 // Calculate the median exactly. … … 644 644 645 645 // Sort the temporary vectors. 646 ps Sort(sortedVector, unsortedVector);646 psVectorSort(sortedVector, unsortedVector); 647 647 648 648 // Calculate the quartile points exactly. … … 1059 1059 PS_STAT_ROBUST_QUARTILE 1060 1060 I have included all that computation in a single function, as opposed to 1061 breaking it across several functions for one primary reason: 1061 breaking it across several functions for one primary reason: 1062 1062 they all 1063 1063 require the same basic initial processing steps (calculate the histogram, 1064 etc.) 1064 etc.) 1065 1065 however there is no currently defined means, in the SDRS, to 1066 1066 specify this computation as a separate step. If the above robust stat -
trunk/psLib/src/math/psStats.c
r1281 r1282 15 15 #include "psAbort.h" 16 16 #include "psStats.h" 17 #include "ps Sort.h"17 #include "psVectorSort.h" 18 18 #include "psMinimize.h" 19 19 #include "psFunctions.h" … … 475 475 } 476 476 // Sort the temporary vectors. 477 ps Sort(sortedVector, unsortedVector);477 psVectorSort(sortedVector, unsortedVector); 478 478 479 479 // Calculate the median exactly. … … 644 644 645 645 // Sort the temporary vectors. 646 ps Sort(sortedVector, unsortedVector);646 psVectorSort(sortedVector, unsortedVector); 647 647 648 648 // Calculate the quartile points exactly. … … 1059 1059 PS_STAT_ROBUST_QUARTILE 1060 1060 I have included all that computation in a single function, as opposed to 1061 breaking it across several functions for one primary reason: 1061 breaking it across several functions for one primary reason: 1062 1062 they all 1063 1063 require the same basic initial processing steps (calculate the histogram, 1064 etc.) 1064 etc.) 1065 1065 however there is no currently defined means, in the SDRS, to 1066 1066 specify this computation as a separate step. If the above robust stat
Note:
See TracChangeset
for help on using the changeset viewer.
