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.h

    r10598 r10848  
    1111 *  @author GLG, MHPCC
    1212 *
    13  *  @version $Revision: 1.65 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2006-12-09 14:19:56 $
     13 *  @version $Revision: 1.66 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2006-12-29 04:38:42 $
    1515 *
    1616 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    329329} \
    330330
     331#define PS_ASSERT_POLY_VALID_TYPE(TYPE, RVAL) \
     332if ((TYPE != PS_POLYNOMIAL_ORD) && \
     333        (TYPE != PS_POLYNOMIAL_CHEB)) { \
     334    psError(PS_ERR_BAD_PARAMETER_TYPE, true, \
     335            "Unallowable operation: invalid type %d for polynomial", TYPE); \
     336    return(RVAL); \
     337} \
     338
    331339#define PS_POLY_PRINT_1D(NAME) \
    332340printf("Poly %s: (nX) is (%d)\n", #NAME, NAME->nX);\
Note: See TracChangeset for help on using the changeset viewer.