Changeset 2204 for trunk/psLib/test/dataManip/tst_psFunc01.c
- Timestamp:
- Oct 26, 2004, 2:57:34 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/dataManip/tst_psFunc01.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataManip/tst_psFunc01.c
r1811 r2204 13 13 #define MY_STDEV 2.0 14 14 #define N 30 15 intmain()15 psS32 main() 16 16 { 17 inttestStatus = true;17 psS32 testStatus = true; 18 18 float x = 0.0; 19 intmemLeaks;20 intcurrentId = psMemGetId();19 psS32 memLeaks; 20 psS32 currentId = psMemGetId(); 21 21 psVector *myGaussData = NULL; 22 22 printPositiveTestHeader(stdout, … … 52 52 53 53 myGaussData = psGaussianDev(MY_MEAN, MY_STDEV, N); 54 for ( inti = 0; i < N ; i++) {54 for (psS32 i = 0; i < N ; i++) { 55 55 printf("Gaussian Deviate [%d] is %f\n", i, myGaussData->data.F32[i]); 56 56 }
Note:
See TracChangeset
for help on using the changeset viewer.
