Changeset 1846 for trunk/psLib/src/dataManip/psStats.c
- Timestamp:
- Sep 21, 2004, 3:30:21 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/dataManip/psStats.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/dataManip/psStats.c
r1838 r1846 9 9 * @author George Gusciora, MHPCC 10 10 * 11 * @version $Revision: 1.5 6$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-09-2 1 19:37:12$11 * @version $Revision: 1.57 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2004-09-22 01:30:21 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 994 994 range and assumes that the polynomial is monotonically increasing or 995 995 decreasing within that range. 996 *****************************************************************************/ 997 float p_ps1DPolyMedian(psPolynomial1D* myPoly, float rangeLow, float rangeHigh, float getThisValue) 996 997 XXX: Terminate when f(x)-getThisValue is within some error tolerance. 998 *****************************************************************************/ 999 float p_ps1DPolyMedian(psPolynomial1D* myPoly, 1000 float rangeLow, 1001 float rangeHigh, 1002 float getThisValue) 998 1003 { 999 1004 int numIterations = 0; … … 1035 1040 XXX: This function is currently not being used. 1036 1041 *****************************************************************************/ 1037 float p_psFitQuadratic(psHistogram* histogram, psVector* cumulativeSums, int binNum, float fitFloat) 1042 float p_psFitQuadratic(psHistogram* histogram, 1043 psVector* cumulativeSums, 1044 int binNum, 1045 float fitFloat) 1038 1046 { 1039 1047 psVector* x = psVectorAlloc(3, PS_TYPE_F64); … … 1316 1324 // this bin. We then solve the quadratic for 1317 1325 1326 // XXX: Create a "p_psQuadraticFitAndSolveForX() function. 1327 1318 1328 if (stats->options & PS_STAT_ROBUST_MEDIAN) { 1319 1329 if ((maxBinNum > 0) && (maxBinNum < (robustHistogram->nums->n - 1))) {
Note:
See TracChangeset
for help on using the changeset viewer.
