IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 28, 2006, 6:38:42 PM (19 years ago)
Author:
magnier
Message:

changed return value for psVectorFit functions to bool; now using stats->option to set FitClip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psPolynomial.c

    r10608 r10848  
    77*  polynomials.  It also contains a Gaussian functions.
    88*
    9 *  @version $Revision: 1.155 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2006-12-10 17:28:46 $
     9*  @version $Revision: 1.156 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2006-12-29 04:38:42 $
    1111*
    1212*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    581581    unsigned int nX)
    582582{
    583     //PS_ASSERT_INT_NONNEGATIVE(n, NULL);
     583    PS_ASSERT_POLY_VALID_TYPE(type, NULL);
     584
    584585    psU32 nOrder = nX;
    585586    psPolynomial1D *newPoly = (psPolynomial1D* ) psAlloc(sizeof(psPolynomial1D));
     
    605606    unsigned int nY)
    606607{
    607     //PS_ASSERT_INT_NONNEGATIVE(nX, NULL);
    608     //PS_ASSERT_INT_NONNEGATIVE(nY, NULL);
     608    PS_ASSERT_POLY_VALID_TYPE(type, NULL);
    609609
    610610    unsigned int x = 0;
     
    711711    unsigned int nZ)
    712712{
     713    PS_ASSERT_POLY_VALID_TYPE(type, NULL);
     714
    713715    //PS_ASSERT_INT_NONNEGATIVE(nX, NULL);
    714716    //PS_ASSERT_INT_NONNEGATIVE(nY, NULL);
     
    761763    unsigned int nT)
    762764{
     765    PS_ASSERT_POLY_VALID_TYPE(type, NULL);
     766
    763767    //PS_ASSERT_INT_NONNEGATIVE(nX, NULL);
    764768    //PS_ASSERT_INT_NONNEGATIVE(nY, NULL);
Note: See TracChangeset for help on using the changeset viewer.