IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 27, 2006, 4:53:03 PM (20 years ago)
Author:
drobbin
Message:

Add Length functions/tests. Modified psPixelsAlloc to set n=0.

File:
1 edited

Legend:

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

    r6484 r6500  
    77*  polynomials.  It also contains a Gaussian functions.
    88*
    9 *  @version $Revision: 1.144 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2006-02-24 23:43:15 $
     9*  @version $Revision: 1.145 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2006-02-28 02:53:02 $
    1111*
    1212*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    262262        // General case where the Chebyshev poly has 2 or more terms.
    263263        d = psVectorAlloc(nTerms, PS_TYPE_F64);
     264        d->n = d->nalloc;
    264265        if(poly->mask[nTerms-1] == 0) {
    265266            d->data.F64[nTerms-1] = poly->coeff[nTerms-1];
Note: See TracChangeset for help on using the changeset viewer.