IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 21, 2004, 3:30:21 PM (22 years ago)
Author:
gusciora
Message:

Added the spline generation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/dataManip/psStats.c

    r1838 r1846  
    99 *  @author George Gusciora, MHPCC
    1010 *
    11  *  @version $Revision: 1.56 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-09-21 19:37:12 $
     11 *  @version $Revision: 1.57 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-09-22 01:30:21 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    994994range and assumes that the polynomial is monotonically increasing or
    995995decreasing within that range.
    996  *****************************************************************************/
    997 float p_ps1DPolyMedian(psPolynomial1D* myPoly, float rangeLow, float rangeHigh, float getThisValue)
     996 
     997XXX: Terminate when f(x)-getThisValue is within some error tolerance.
     998 *****************************************************************************/
     999float p_ps1DPolyMedian(psPolynomial1D* myPoly,
     1000                       float rangeLow,
     1001                       float rangeHigh,
     1002                       float getThisValue)
    9981003{
    9991004    int numIterations = 0;
     
    10351040XXX: This function is currently not being used.
    10361041 *****************************************************************************/
    1037 float p_psFitQuadratic(psHistogram* histogram, psVector* cumulativeSums, int binNum, float fitFloat)
     1042float p_psFitQuadratic(psHistogram* histogram,
     1043                       psVector* cumulativeSums,
     1044                       int binNum,
     1045                       float fitFloat)
    10381046{
    10391047    psVector* x = psVectorAlloc(3, PS_TYPE_F64);
     
    13161324    // this bin.  We then solve the quadratic for
    13171325
     1326    // XXX: Create a "p_psQuadraticFitAndSolveForX() function.
     1327
    13181328    if (stats->options & PS_STAT_ROBUST_MEDIAN) {
    13191329        if ((maxBinNum > 0) && (maxBinNum < (robustHistogram->nums->n - 1))) {
Note: See TracChangeset for help on using the changeset viewer.