IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 22, 2004, 8:12:22 PM (22 years ago)
Author:
gusciora
Message:

removed the old 1d Spline Gen function.

Location:
trunk/psLib/test/dataManip
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/dataManip/tst_psFunc04.c

    r1811 r1861  
    22    This routine must ensure that the psSpline1DEval() function works
    33    properly.  It creates a spline with psSpline1DAlloc(), creates a set of
    4     data values, sets the spline polynomials with psSpline1DGen(), then
     4    data values, sets the spline polynomials with psVectorFitSpline1D(), then
    55    calls psSpline1DEval() on new data values and ensures that the results
    66    are correct.
     
    4141        data->data.F32[i] = tmpSpline->domains[i];
    4242    }
     43    psVectorFitSpline1D(tmpSpline, data, data, NULL);
    4344
    44     psSpline1DGen(tmpSpline, data);
    4545    for (i=0;i<N+1;i++) {
    4646        x = 0.5 + (float) i+1;
  • trunk/psLib/test/dataManip/tst_psFunc05.c

    r1811 r1861  
    22    This routine must ensure that the psSpline1DEval() function works
    33    properly.  It creates a spline with psSpline1DAlloc(), creates a set of
    4     data values, sets the spline polynomials with psSpline1DGen(), then
     4    data values, sets the spline polynomials with psVectorFitSpline1D(), then
    55    calls psSpline1DEval() on new data values and ensures that the results
    66    are correct.
     
    4444    }
    4545
    46     psSpline1DGen(tmpSpline, data);
     46    psVectorFitSpline1D(tmpSpline, data, data, NULL);
    4747
    4848    for (i=0;i<N+1;i++) {
  • trunk/psLib/test/dataManip/tst_psFunc07.c

    r1858 r1861  
    11/*****************************************************************************
    2     This routine must ensure that the psSpline1DEval() function works
    3     properly.  It creates a spline with psSpline1DAlloc(), creates a set of
    4     data values, sets the spline polynomials with psSpline1DGen(), then
    5     calls psSpline1DEval() on new data values and ensures that the results
    6     are correct.
     2This routine must ensure that the psVectorFitSpline1D() function works
     3properly.  It creates a spline with psSpline1DAlloc(), creates a set of data
     4values, sets the spline polynomials with psVectorFitSpline1D(), then calls
     5psSpline1DEval() on new data values and ensures that the results are correct.
    76 
    8     XXX: figure out the memory deallocator
     7XXX: figure out the memory deallocator
     8 
     9XXX: The interpolated values are not all that good.  However, they do agree
     10with the NR version of the code.
    911 *****************************************************************************/
    1012#include <stdio.h>
Note: See TracChangeset for help on using the changeset viewer.