comparison Histogram.h @ 5:13b8591dd045

added addInterval -- is old version, have to merge with VMS__malloc version
author SeanHalle
date Thu, 11 Nov 2010 05:37:07 -0800
parents dbb58ebfd690
children a2388fae93ff
comparison
equal deleted inserted replaced
1:83252533e7dc 3:a9f4f0bee182
19 int *bins; 19 int *bins;
20 } 20 }
21 Histogram; 21 Histogram;
22 22
23 Histogram * 23 Histogram *
24 makeHistogram( int numBins, int startOfRange, int endOfRange ); 24 makeHistogram( int32 numBins, int32 startOfRange, int32 endOfRange );
25 25
26 void 26 void inline
27 addToHist( int value, Histogram *hist ); 27 addToHist( int32 value, Histogram *hist );
28
29 void inline
30 addIntervalToHist( int32 startIntvl, int32 endIntvl, Histogram *hist );
28 31
29 void 32 void
30 printHist( Histogram *hist ); 33 printHist( Histogram *hist );
31 34
32 #endif /* _HISTOGRAM_H */ 35 #endif /* _HISTOGRAM_H */