Changeset 1861 for trunk/psLib/test/dataManip/tst_psFunc04.c
- Timestamp:
- Sep 22, 2004, 8:12:22 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/dataManip/tst_psFunc04.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataManip/tst_psFunc04.c
r1811 r1861 2 2 This routine must ensure that the psSpline1DEval() function works 3 3 properly. It creates a spline with psSpline1DAlloc(), creates a set of 4 data values, sets the spline polynomials with ps Spline1DGen(), then4 data values, sets the spline polynomials with psVectorFitSpline1D(), then 5 5 calls psSpline1DEval() on new data values and ensures that the results 6 6 are correct. … … 41 41 data->data.F32[i] = tmpSpline->domains[i]; 42 42 } 43 psVectorFitSpline1D(tmpSpline, data, data, NULL); 43 44 44 psSpline1DGen(tmpSpline, data);45 45 for (i=0;i<N+1;i++) { 46 46 x = 0.5 + (float) i+1;
Note:
See TracChangeset
for help on using the changeset viewer.
