Changeset 2439 for trunk/psLib/test/dataManip
- Timestamp:
- Nov 24, 2004, 12:33:21 PM (22 years ago)
- Location:
- trunk/psLib/test/dataManip
- Files:
-
- 3 edited
-
tst_psFunc04.c (modified) (2 diffs)
-
tst_psFunc05.c (modified) (1 diff)
-
tst_psFunc07.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataManip/tst_psFunc04.c
r2392 r2439 46 46 for (i=0;i<N+1;i++) { 47 47 x = 0.5 + (float) i+1; 48 y = psSpline1DEval(tmpSpline, x); 48 y = psSpline1DEval( 49 x, 50 tmpSpline 51 ); 49 52 if (fabs(x-y) > FLT_EPSILON) { 50 53 printf("ERROR: f(%f) is %f\n", x, y); … … 98 101 for (i=0;i<N+1;i++) { 99 102 x = 0.5 + (float) i+1; 100 y = psSpline1DEval(tmpSpline, x); 103 y = psSpline1DEval( 104 x, 105 tmpSpline 106 ); 101 107 if (fabs(x-y) > FLT_EPSILON) { 102 108 printf("ERROR: f(%f) is %f\n", x, y); -
trunk/psLib/test/dataManip/tst_psFunc05.c
r2392 r2439 50 50 } 51 51 52 y = psSpline1DEvalVector(x, tmpSpline); 52 y = psSpline1DEvalVector( 53 tmpSpline, 54 x 55 ); 53 56 54 57 for (i=0;i<N+1;i++) { -
trunk/psLib/test/dataManip/tst_psFunc07.c
r2392 r2439 70 70 71 71 psVectorFitSpline1D(tmpSpline, x, y, NULL); 72 newY = psSpline1DEvalVector(newX, tmpSpline); 72 newY = psSpline1DEvalVector( 73 tmpSpline, 74 newX 75 ); 73 76 74 77 for (i=OFFSET;i<NUM_SPLINES-OFFSET+1;i++) { … … 139 142 140 143 psVectorFitSpline1D(tmpSpline, x, y, NULL); 141 newY = psSpline1DEvalVector(newX, tmpSpline); 144 newY = psSpline1DEvalVector( 145 tmpSpline, 146 newX 147 ); 142 148 143 149 for (i=OFFSET;i<NUM_SPLINES-OFFSET+1;i++) {
Note:
See TracChangeset
for help on using the changeset viewer.
