IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 16, 2004, 2:18:31 PM (22 years ago)
Author:
gusciora
Message:

Fixed chebyshev polynomial code.

File:
1 edited

Legend:

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

    r2716 r2741  
    77 *  polynomials.  It also contains a Gaussian functions.
    88 *
    9  *  @version $Revision: 1.72 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2004-12-15 23:35:34 $
     9 *  @version $Revision: 1.73 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2004-12-17 00:18:31 $
    1111 *
    1212 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    306306// XXX: You can do this without having to psAlloc() vector d.
    307307// XXX: How does the mask vector effect Crenshaw's formula?
     308// XXX: We assume that x is scaled between -1.0 and 1.0;
    308309static float chebPolynomial1DEval(float x, const psPolynomial1D* myPoly)
    309310{
     311    //    PS_FLOAT_CHECK_RANGE(x, -1.0, 1.0, 0.0);
     312    PS_FLOAT_CHECK_RANGE(x, -1.0, 1.0, 0.0);
    310313    psVector *d;
    311314    psS32 n;
Note: See TracChangeset for help on using the changeset viewer.